Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 214.7 kB / 24.52 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 51.92 kB / 378.5 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2384, allocations: 53.36 MB / 431.9 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02157/0.26, allocations: 18.59 MB / 450.5 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.2739, allocations: 6.489 MB / 457 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003278/0.2772, allocations: 179.1 kB / 457.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01472/0.2919, allocations: 6.39 MB / 463.5 MB, free: 6.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008786/0.3007, allocations: 2.81 MB / 466.4 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004331/0.305, allocations: 1.562 MB / 467.9 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01179/0.3168, allocations: 9.168 MB / 477.1 MB, free: 9.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01817/0.3349, allocations: 11.06 MB / 488.1 MB, free: 14.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006876/0.3418, allocations: 4.777 MB / 492.9 MB, free: 9.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008203/0.35, allocations: 5.241 MB / 498.2 MB, free: 4.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003063/0.3531, allocations: 1.355 MB / 499.5 MB, free: 2.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004451/0.3575, allocations: 1.695 MB / 0.4895 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003642/0.3612, allocations: 2.627 MB / 0.492 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007128/0.3683, allocations: 3.841 MB / 0.4958 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0225/0.3908, allocations: 18.34 MB / 0.5137 GB, free: 8.152 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3908, allocations: 0 / 0.5137 GB, free: 8.152 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3908, allocations: 4 kB / 0.5137 GB, free: 8.148 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004424/0.3913, allocations: 0 / 0.5137 GB, free: 8.148 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03112/0.4224, allocations: 10.66 MB / 0.5241 GB, free: 13.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4224, allocations: 8.031 kB / 0.5241 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002212/0.4226, allocations: 211.4 kB / 0.5243 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003526/0.4262, allocations: 1.09 MB / 0.5254 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03302/0.4592, allocations: 5.895 MB / 0.5311 GB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/0.4727, allocations: 5.776 MB / 0.5368 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.227/0.6997, allocations: 0.5534 MB / 0.5373 GB, free: 89.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00322/0.703, allocations: 0.731 MB / 0.538 GB, free: 89.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0324/0.7354, allocations: 13.04 MB / 0.5508 GB, free: 84.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003301/0.7357, allocations: 11.16 kB / 0.5508 GB, free: 84.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00237/0.7381, allocations: 312.4 kB / 0.5511 GB, free: 84.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000543/0.7386, allocations: 495.4 kB / 0.5515 GB, free: 84.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02284/0.7614, allocations: 12.62 MB / 0.5639 GB, free: 73.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0555/0.8169, allocations: 37.12 MB / 0.6001 GB, free: 36.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/0.829, allocations: 8.54 MB / 0.6085 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004159/0.8331, allocations: 2.923 MB / 0.6113 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000436/0.8336, allocations: 91.14 kB / 0.6114 GB, free: 25.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.179e-05/0.8336, allocations: 77.78 kB / 0.6115 GB, free: 25.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 7.845e-06/0.8336, allocations: 0 / 0.6115 GB, free: 25.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03456/0.8682, allocations: 16.94 MB / 0.628 GB, free: 9.242 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.8682, allocations: 98.66 kB / 0.6281 GB, free: 9.133 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003851/0.8721, allocations: 2.845 MB / 0.6309 GB, free: 6.309 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003995/0.8725, allocations: 89.7 kB / 0.631 GB, free: 6.215 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.8737, allocations: 3.149 MB / 0.634 GB, free: 3.211 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001002/0.8747, allocations: 1.462 MB / 0.6355 GB, free: 1.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/0.8763, allocations: 0.9544 MB / 0.6364 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.649e-05/0.8763, allocations: 301.1 kB / 0.6367 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004189/0.8805, allocations: 2.51 MB / 0.6391 GB, free: 13.99 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005981/0.8865, allocations: 4.146 MB / 0.6432 GB, free: 9.113 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/0.8977, allocations: 7.203 MB / 0.6502 GB, free: 1.191 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.625e-05/0.8978, allocations: 16 kB / 0.6502 GB, free: 1.176 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01744/0.9153, allocations: 8.026 MB / 0.6581 GB, free: 9.121 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.333e-05/0.9153, allocations: 28 kB / 0.6581 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.821e-05/0.9154, allocations: 48 kB / 0.6582 GB, free: 9.047 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003726/0.9192, allocations: 1.23 MB / 0.6594 GB, free: 7.812 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004808/0.924, allocations: 1.135 MB / 0.6605 GB, free: 6.676 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0175/0.9415, allocations: 10.87 MB / 0.6711 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003651/0.9451, allocations: 271.6 kB / 0.6713 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008787/0.946, allocations: 236 kB / 0.6716 GB, free: 11.09 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * 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%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006025/0.952, allocations: 2.952 MB / 0.6744 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/0.9534, allocations: 369.6 kB / 0.6748 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/0.9678, allocations: 6.67 MB / 0.6813 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.204e-05/0.9679, allocations: 40 kB / 0.6814 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.398e-05/0.9679, allocations: 12 kB / 0.6814 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.682e-05/0.968, allocations: 19.92 kB / 0.6814 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03311/1.001, allocations: 14.17 MB / 0.6952 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-05/1.001, allocations: 8 kB / 0.6952 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003643/1.005, allocations: 0.7496 MB / 0.696 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003833/1.009, allocations: 1.124 MB / 0.6971 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009275/1.01, allocations: 95.97 kB / 0.6972 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01635/1.026, allocations: 9.801 MB / 0.7067 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.305e-06/1.026, allocations: 4 kB / 0.7067 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01857/1.044, allocations: 10.02 MB / 0.7165 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00314/1.048, allocations: 0.8917 MB / 0.7174 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/1.049, allocations: 76 kB / 0.7175 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/1.051, allocations: 203.8 kB / 0.7176 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009104/1.052, allocations: 319.1 kB / 0.718 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004195/1.053, allocations: 128 kB / 0.7181 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003774/1.056, allocations: 1.955 MB / 0.72 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.056, allocations: 0 / 0.72 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005183/1.062, allocations: 1.391 MB / 0.7213 GB, free: 7.641 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * 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%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01915/1.081, allocations: 10.74 MB / 0.7318 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01243/1.093, allocations: 6.501 MB / 0.7382 GB, free: 6.246 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.093, allocations: 0 / 0.7382 GB, free: 6.246 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00654/1.1, allocations: 3.321 MB / 0.7414 GB, free: 2.906 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00513/1.105, allocations: 0.8408 MB / 0.7422 GB, free: 2.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2734/1.378, allocations: 47.2 MB / 0.7883 GB, free: 162.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004119/1.382, allocations: 4.595 MB / 0.7928 GB, free: 158.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004044/1.386, allocations: 1.616 MB / 0.7944 GB, free: 156.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003256/1.39, allocations: 2.685 MB / 0.797 GB, free: 153.9 MB / 0.545 GB Notification: Performance of SimCode: time 2.295e-06/1.39, allocations: 0 / 0.797 GB, free: 153.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1602/1.55, allocations: 116.6 MB / 0.9109 GB, free: 38.13 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.54/20.09, allocations: 7.922 kB / 0.9109 GB, free: 38.12 MB / 0.545 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 654] Reference file matches [Calling sys.exit(0), Time elapsed: 33.75709025003016]