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.001789/0.001789, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.002063/0.002063, allocations: 215 kB / 21.45 MB, free: 1.641 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.461/1.461, allocations: 230.6 MB / 254.8 MB, free: 15.06 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.001426/0.001426, allocations: 47.92 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1038, allocations: 53.34 MB / 427.1 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2349/0.3387, allocations: 21.63 MB / 448.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01792/0.3566, allocations: 6.817 MB / 455.5 MB, free: 9.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006487/0.3631, allocations: 176.1 kB / 455.7 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01912/0.3822, allocations: 6.91 MB / 462.6 MB, free: 5.605 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01199/0.3942, allocations: 2.791 MB / 465.4 MB, free: 3.879 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006431/0.4007, allocations: 1.581 MB / 467 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01719/0.4179, allocations: 9.07 MB / 476 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.029/0.4469, allocations: 13.06 MB / 489.1 MB, free: 2.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01139/0.4582, allocations: 4.727 MB / 493.8 MB, free: 14.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01112/0.4694, allocations: 5.233 MB / 499.1 MB, free: 8.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004532/0.4739, allocations: 1.355 MB / 0.4887 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007074/0.481, allocations: 1.683 MB / 0.4903 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005636/0.4866, allocations: 2.626 MB / 0.4929 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01205/0.4987, allocations: 4.958 MB / 0.4977 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03091/0.5296, allocations: 18.26 MB / 0.5156 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.5296, allocations: 3.938 kB / 0.5156 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5296, allocations: 0 / 0.5156 GB, free: 11.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005027/0.5301, allocations: 0 / 0.5156 GB, free: 11.98 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.03632/0.5664, allocations: 10.74 MB / 0.5261 GB, free: 1.141 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.5665, allocations: 8.031 kB / 0.5261 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002645/0.5667, allocations: 203.5 kB / 0.5263 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004529/0.5712, allocations: 1.086 MB / 0.5273 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03477/0.606, allocations: 5.903 MB / 0.5331 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0133/0.6193, allocations: 5.734 MB / 0.5387 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006542/0.62, allocations: 0.5618 MB / 0.5392 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003488/0.6235, allocations: 0.7342 MB / 0.5399 GB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03696/0.6604, allocations: 12.89 MB / 0.5525 GB, free: 5.883 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002624/0.6607, allocations: 11.94 kB / 0.5525 GB, free: 5.871 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002624/0.6633, allocations: 319.9 kB / 0.5528 GB, free: 5.559 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00062/0.6639, allocations: 500 kB / 0.5533 GB, free: 5.066 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02936/0.6933, allocations: 12.62 MB / 0.5656 GB, free: 8.426 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07693/0.7702, allocations: 41.55 MB / 0.6062 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2348/1.005, allocations: 25.85 MB / 0.6315 GB, free: 138 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004993/1.01, allocations: 2.924 MB / 0.6343 GB, free: 138 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003742/1.01, allocations: 269.2 kB / 0.6346 GB, free: 137.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.566e-05/1.01, allocations: 76.77 kB / 0.6347 GB, free: 137.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=410): time 5.39e-06/1.01, allocations: 1.094 kB / 0.6347 GB, free: 137.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=415): time 0.04082/1.051, allocations: 17.09 MB / 0.6513 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/1.051, allocations: 93.95 kB / 0.6514 GB, free: 131.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00454/1.056, allocations: 2.839 MB / 0.6542 GB, free: 130.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004937/1.056, allocations: 92.92 kB / 0.6543 GB, free: 130.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001703/1.058, allocations: 3.144 MB / 0.6574 GB, free: 128.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001118/1.059, allocations: 1.472 MB / 0.6588 GB, free: 127.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001271/1.06, allocations: 0.9528 MB / 0.6597 GB, free: 127.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.288e-05/1.06, allocations: 305.1 kB / 0.66 GB, free: 126.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003256/1.064, allocations: 2.511 MB / 0.6625 GB, free: 125.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003822/1.068, allocations: 4.113 MB / 0.6665 GB, free: 122.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007494/1.075, allocations: 7.208 MB / 0.6735 GB, free: 118.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.294e-05/1.075, allocations: 15.31 kB / 0.6735 GB, free: 118.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01152/1.087, allocations: 8.028 MB / 0.6814 GB, free: 115.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.114e-05/1.087, allocations: 26.12 kB / 0.6814 GB, free: 115.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.158e-05/1.087, allocations: 54.47 kB / 0.6815 GB, free: 115.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/1.09, allocations: 1.229 MB / 0.6827 GB, free: 114.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004086/1.094, allocations: 1.138 MB / 0.6838 GB, free: 114.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/1.106, allocations: 11.24 MB / 0.6948 GB, free: 103.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003938/1.11, allocations: 267.8 kB / 0.695 GB, free: 103.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005914/1.111, allocations: 232 kB / 0.6952 GB, free: 103 MB / 0.5137 GB 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.004221/1.115, allocations: 2.95 MB / 0.6981 GB, free: 100.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008878/1.116, allocations: 369.6 kB / 0.6985 GB, free: 99.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00994/1.126, allocations: 6.677 MB / 0.705 GB, free: 93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/1.126, allocations: 44 kB / 0.705 GB, free: 92.96 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/1.126, allocations: 12.66 kB / 0.705 GB, free: 92.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.55e-05/1.126, allocations: 23.91 kB / 0.7051 GB, free: 92.92 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0237/1.149, allocations: 14.85 MB / 0.7196 GB, free: 78.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/1.149, allocations: 13.28 kB / 0.7196 GB, free: 78.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002638/1.152, allocations: 0.7528 MB / 0.7203 GB, free: 77.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002883/1.155, allocations: 1.126 MB / 0.7214 GB, free: 76.13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002475/1.155, allocations: 95.97 kB / 0.7215 GB, free: 76.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/1.166, allocations: 10.17 MB / 0.7314 GB, free: 65.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.166, allocations: 11.94 kB / 0.7315 GB, free: 65.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/1.179, allocations: 10.01 MB / 0.7412 GB, free: 55.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002023/1.181, allocations: 0.9397 MB / 0.7421 GB, free: 54.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005836/1.181, allocations: 91.88 kB / 0.7422 GB, free: 54.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/1.183, allocations: 203.8 kB / 0.7424 GB, free: 54.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005867/1.184, allocations: 295.3 kB / 0.7427 GB, free: 53.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002191/1.184, allocations: 136 kB / 0.7428 GB, free: 53.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002369/1.187, allocations: 1.955 MB / 0.7447 GB, free: 51.81 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/1.187, allocations: 1.875 kB / 0.7447 GB, free: 51.81 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005594/1.192, allocations: 1.387 MB / 0.7461 GB, free: 50.43 MB / 0.5137 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.01323/1.205, allocations: 10.75 MB / 0.7566 GB, free: 39.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01007/1.215, allocations: 6.491 MB / 0.7629 GB, free: 33.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/1.215, allocations: 0 / 0.7629 GB, free: 33.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005502/1.221, allocations: 3.311 MB / 0.7662 GB, free: 29.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004239/1.225, allocations: 0.8511 MB / 0.767 GB, free: 28.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07813/1.303, allocations: 47.09 MB / 0.813 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006637/1.31, allocations: 5.084 MB / 0.818 GB, free: 6.691 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004465/1.314, allocations: 1.614 MB / 0.8195 GB, free: 5.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004278/1.319, allocations: 2.678 MB / 0.8221 GB, free: 2.391 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/1.319, allocations: 0 / 0.8221 GB, free: 2.391 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3712/1.69, allocations: 111.8 MB / 0.9313 GB, free: 98.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.42/21.11, allocations: 8.047 kB / 0.9314 GB, free: 98.4 MB / 0.545 GB " [Timeout remaining time 639] (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: 34.678948155022226]