Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001713/0.001713, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001916/0.001916, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 67.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2493, allocations: 50.54 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01113/0.2605, allocations: 8.947 MB / 417.7 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005478/0.266, allocations: 2.945 MB / 420.7 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.2671, allocations: 43.81 kB / 420.7 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.2687, allocations: 0.6084 MB / 421.3 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.2708, allocations: 0.7299 MB / 422 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007456/0.2715, allocations: 335.5 kB / 422.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002976/0.2745, allocations: 2.377 MB / 424.7 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/0.2767, allocations: 1.766 MB / 426.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.2783, allocations: 1.074 MB / 427.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.2803, allocations: 1.339 MB / 428.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004456/0.2808, allocations: 280 kB / 429.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007447/0.2815, allocations: 383.8 kB / 429.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008405/0.2824, allocations: 0.8064 MB / 430.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001827/0.2842, allocations: 1.26 MB / 431.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004405/0.2887, allocations: 3.71 MB / 435.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.2887, allocations: 0 / 435.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2887, allocations: 0 / 435.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001042/0.2888, allocations: 0 / 435.3 MB, free: 6.809 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005726/0.2945, allocations: 2.662 MB / 438 MB, free: 4.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2946, allocations: 12.03 kB / 438 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003576/0.295, allocations: 266 kB / 438.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009707/0.2959, allocations: 303.3 kB / 438.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.2985, allocations: 1.417 MB / 440 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.2986, allocations: 135.7 kB / 440.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003144/0.2989, allocations: 184 kB / 440.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004174/0.3031, allocations: 2.413 MB / 442.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.634e-05/0.3032, allocations: 4 kB / 442.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002611/0.3034, allocations: 75.98 kB / 442.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.3036, allocations: 91.48 kB / 442.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/0.3073, allocations: 2.016 MB / 444.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01271/0.32, allocations: 7.388 MB / 452.3 MB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/0.3222, allocations: 1.273 MB / 453.6 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/0.3241, allocations: 0.9081 MB / 454.5 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002764/0.3244, allocations: 114.1 kB / 454.6 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.3244, allocations: 47.56 kB / 454.6 MB, free: 3.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.146e-06/0.3244, allocations: 4 kB / 454.6 MB, free: 3.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.01066/0.3351, allocations: 4.925 MB / 459.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.3352, allocations: 60.41 kB / 459.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.3374, allocations: 1.397 MB / 461 MB, free: 12.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.529e-05/0.3375, allocations: 45.7 kB / 461.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008502/0.3384, allocations: 0.9189 MB / 462 MB, free: 11.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003834/0.3388, allocations: 368.9 kB / 462.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004417/0.3392, allocations: 222.8 kB / 462.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3394, allocations: 357.9 kB / 462.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.3405, allocations: 0.6272 MB / 463.5 MB, free: 10 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.3419, allocations: 0.9298 MB / 464.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/0.3445, allocations: 1.641 MB / 466.1 MB, free: 7.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.3445, allocations: 7.938 kB / 466.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004852/0.3494, allocations: 2.391 MB / 468.5 MB, free: 4.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/0.3495, allocations: 18.69 kB / 468.5 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.3495, allocations: 8 kB / 468.5 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002318/0.3518, allocations: 0.7126 MB / 469.2 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.3532, allocations: 235.6 kB / 469.5 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/0.367, allocations: 8.742 MB / 478.2 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.3682, allocations: 87.86 kB / 478.3 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.366e-05/0.3683, allocations: 44 kB / 478.3 MB, free: 10.65 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001079/0.3694, allocations: 0.6224 MB / 479 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.3696, allocations: 151.1 kB / 479.1 MB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003324/0.373, allocations: 1.905 MB / 481 MB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.373, allocations: 11.94 kB / 481 MB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.373, allocations: 7.938 kB / 481 MB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.373, allocations: 3.984 kB / 481 MB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006849/0.3799, allocations: 4.005 MB / 485 MB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.3799, allocations: 4.125 kB / 485.1 MB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008104/0.3807, allocations: 179.8 kB / 485.2 MB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001257/0.382, allocations: 466.6 kB / 485.7 MB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.502e-05/0.3821, allocations: 35.92 kB / 485.7 MB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007031/0.3891, allocations: 6.681 MB / 492.4 MB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.3892, allocations: 3.984 kB / 492.4 MB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004689/0.3939, allocations: 2.792 MB / 495.2 MB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007698/0.3947, allocations: 364 kB / 495.5 MB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.3949, allocations: 28 kB / 495.6 MB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007616/0.3956, allocations: 67.92 kB / 495.6 MB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/0.3959, allocations: 88.81 kB / 495.7 MB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.35e-05/0.396, allocations: 31.92 kB / 495.8 MB, free: 8.594 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001492/0.3975, allocations: 0.9586 MB / 496.7 MB, free: 7.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3975, allocations: 3.938 kB / 496.7 MB, free: 7.629 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001432/0.3989, allocations: 435.9 kB / 497.1 MB, free: 7.203 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005146/0.4041, allocations: 3.404 MB / 0.4888 GB, free: 3.738 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003647/0.4078, allocations: 2.02 MB / 0.4908 GB, free: 1.695 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.4078, allocations: 4 kB / 0.4908 GB, free: 1.691 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00225/0.4101, allocations: 1.336 MB / 0.4921 GB, free: 300 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/0.4121, allocations: 389.7 kB / 0.4925 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02693/0.4391, allocations: 16.41 MB / 0.5085 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/0.4407, allocations: 1.696 MB / 0.5102 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009452/0.4416, allocations: 316 kB / 0.5105 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009734/0.4426, allocations: 0.7102 MB / 0.5112 GB, free: 12.29 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4426, allocations: 3.938 kB / 0.5112 GB, free: 12.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3154/0.758, allocations: 40.04 MB / 0.5503 GB, free: 125.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.04/18.8, allocations: 11.72 kB / 0.5503 GB, free: 125.5 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches