Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002356/0.002356, allocations: 103.5 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002099/0.002099, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.202e-05, allocations: 2.312 kB / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1709/0.171, allocations: 21.06 MB / 293.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01403/0.185, allocations: 6.689 MB / 300 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005104/0.1901, allocations: 176.6 kB / 300.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01611/0.2062, allocations: 7.271 MB / 307.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009606/0.2158, allocations: 2.871 MB / 310.3 MB, free: 9.355 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004088/0.2199, allocations: 1.585 MB / 311.9 MB, free: 8.125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00985/0.2298, allocations: 9.456 MB / 321.3 MB, free: 1.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01855/0.2483, allocations: 10.94 MB / 332.3 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01423/0.2625, allocations: 7.017 MB / 339.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009756/0.2723, allocations: 4.912 MB / 344.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003085/0.2754, allocations: 1.355 MB / 345.6 MB, free: 9.594 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00478/0.2802, allocations: 1.687 MB / 347.3 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003182/0.2833, allocations: 2.716 MB / 350 MB, free: 5.184 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006962/0.2903, allocations: 3.365 MB / 353.3 MB, free: 1.809 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02394/0.3142, allocations: 18.65 MB / 372 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3142, allocations: 0 / 372 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3142, allocations: 0 / 372 MB, free: 15.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004812/0.3147, allocations: 0 / 372 MB, free: 15.11 MB / 330.7 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.03775/0.3525, allocations: 12.23 MB / 384.2 MB, free: 2.789 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.3525, allocations: 15.98 kB / 384.2 MB, free: 2.773 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05902/0.4115, allocations: 7.284 MB / 391.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01638/0.4279, allocations: 5.552 MB / 397.1 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008322/0.4288, allocations: 0.5578 MB / 397.6 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004149/0.4329, allocations: 0.7343 MB / 398.4 MB, free: 4.578 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03676/0.4697, allocations: 13.23 MB / 411.6 MB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002714/0.4699, allocations: 11.95 kB / 411.6 MB, free: 7.234 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002456/0.4724, allocations: 312 kB / 411.9 MB, free: 6.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006633/0.4731, allocations: 496.1 kB / 412.4 MB, free: 6.441 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02938/0.5024, allocations: 11.14 MB / 423.5 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2362/0.7386, allocations: 88.91 MB / 0.5004 GB, free: 44.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/0.7507, allocations: 7.945 MB / 0.5082 GB, free: 38.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003393/0.7541, allocations: 2.459 MB / 0.5106 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003365/0.7544, allocations: 123.1 kB / 0.5107 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.7544, allocations: 80.61 kB / 0.5108 GB, free: 35.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 7.173e-06/0.7544, allocations: 0 / 0.5108 GB, free: 35.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.03188/0.7863, allocations: 14.63 MB / 0.5251 GB, free: 21.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.7864, allocations: 94.67 kB / 0.5252 GB, free: 20.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004579/0.791, allocations: 3.984 MB / 0.5291 GB, free: 17.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005627/0.7915, allocations: 89.7 kB / 0.5291 GB, free: 16.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001728/0.7932, allocations: 3.56 MB / 0.5326 GB, free: 13.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001343/0.7946, allocations: 1.608 MB / 0.5342 GB, free: 12.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001614/0.7962, allocations: 1.261 MB / 0.5354 GB, free: 10.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.7962, allocations: 480.8 kB / 0.5359 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002816/0.7991, allocations: 2.001 MB / 0.5378 GB, free: 8.434 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003853/0.8029, allocations: 4.62 MB / 0.5423 GB, free: 2.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/0.814, allocations: 7.35 MB / 0.5495 GB, free: 10.49 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.835e-05/0.8141, allocations: 12 kB / 0.5495 GB, free: 10.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01654/0.8306, allocations: 7.273 MB / 0.5566 GB, free: 3.172 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.663e-05/0.8307, allocations: 30.03 kB / 0.5567 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.391e-05/0.8308, allocations: 48 kB / 0.5567 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004763/0.8355, allocations: 1.401 MB / 0.5581 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004904/0.8404, allocations: 1.135 MB / 0.5592 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02056/0.861, allocations: 11.84 MB / 0.5707 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003583/0.8646, allocations: 267.8 kB / 0.571 GB, free: 4.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007332/0.8653, allocations: 232 kB / 0.5712 GB, free: 3.984 MB / 410.7 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.005709/0.871, allocations: 2.712 MB / 0.5739 GB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001242/0.8723, allocations: 477.8 kB / 0.5743 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1445/1.017, allocations: 5.681 MB / 0.5799 GB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.579e-05/1.017, allocations: 42.34 kB / 0.5799 GB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.143e-05/1.017, allocations: 11.91 kB / 0.5799 GB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.729e-05/1.017, allocations: 20.95 kB / 0.5799 GB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02616/1.043, allocations: 16.3 MB / 0.5959 GB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/1.043, allocations: 3.875 kB / 0.5959 GB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003005/1.046, allocations: 0.7574 MB / 0.5966 GB, free: 120.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003678/1.05, allocations: 1.268 MB / 0.5978 GB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005369/1.05, allocations: 98.72 kB / 0.5979 GB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/1.062, allocations: 10.82 MB / 0.6085 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.062, allocations: 7.219 kB / 0.6085 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/1.074, allocations: 8.412 MB / 0.6167 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003309/1.078, allocations: 0.7916 MB / 0.6175 GB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008913/1.079, allocations: 88.83 kB / 0.6176 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/1.081, allocations: 198.4 kB / 0.6178 GB, free: 109 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006261/1.081, allocations: 320.8 kB / 0.6181 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002498/1.082, allocations: 129.1 kB / 0.6182 GB, free: 108.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00274/1.084, allocations: 2.06 MB / 0.6202 GB, free: 106.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.084, allocations: 0 / 0.6202 GB, free: 106.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005133/1.09, allocations: 1.387 MB / 0.6216 GB, free: 105.4 MB / 410.7 MB 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.000716/1.09, allocations: 273.6 kB / 0.6218 GB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01002/1.1, allocations: 6.179 MB / 0.6279 GB, free: 98.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/1.1, allocations: 4 kB / 0.6279 GB, free: 98.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00576/1.106, allocations: 3.287 MB / 0.6311 GB, free: 95.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004159/1.11, allocations: 0.7685 MB / 0.6318 GB, free: 94.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02072/1.131, allocations: 13.2 MB / 0.6447 GB, free: 81.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004279/1.135, allocations: 4.209 MB / 0.6488 GB, free: 77.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003571/1.139, allocations: 1.351 MB / 0.6501 GB, free: 75.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000983/1.14, allocations: 324.4 kB / 0.6505 GB, free: 75.62 MB / 410.7 MB Notification: Performance of SimCode: time 2.164e-06/1.14, allocations: 0 / 0.6505 GB, free: 75.62 MB / 410.7 MB Notification: Performance of Templates: time 0.0849/1.225, allocations: 54.94 MB / 0.7041 GB, free: 21.28 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.773054874967784]