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.001518/0.001518, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001617/0.001617, allocations: 172.7 kB / 24.91 MB, free: 9.148 MB / 18.57 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 0.9525/0.9525, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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: 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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.488e-05, allocations: 2.312 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1371/0.1371, allocations: 20.32 MB / 293.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009432/0.1465, allocations: 6.979 MB / 300.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.1477, allocations: 175.9 kB / 301 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006087/0.1538, allocations: 7.27 MB / 308.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003367/0.1571, allocations: 2.896 MB / 311.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.1588, allocations: 1.569 MB / 312.7 MB, free: 8.008 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004211/0.1631, allocations: 9.475 MB / 322.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008967/0.172, allocations: 11.3 MB / 333.5 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005516/0.1775, allocations: 7.063 MB / 340.5 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004359/0.1819, allocations: 5.135 MB / 345.7 MB, free: 9.863 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009667/0.1829, allocations: 1.352 MB / 347 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.1847, allocations: 1.683 MB / 348.7 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.1862, allocations: 2.716 MB / 351.4 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002457/0.1887, allocations: 3.365 MB / 354.8 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006107/0.1948, allocations: 8.492 MB / 363.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1948, allocations: 0 / 363.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1948, allocations: 0 / 363.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.711e-05/0.1949, allocations: 0 / 363.3 MB, free: 8.215 MB / 314.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.01341/0.2083, allocations: 9.772 MB / 373 MB, free: 14.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2083, allocations: 8.031 kB / 373 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/0.2243, allocations: 5.885 MB / 378.9 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005648/0.23, allocations: 2.97 MB / 381.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002971/0.2303, allocations: 0.5617 MB / 382.5 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001188/0.2314, allocations: 0.7265 MB / 383.2 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008034/0.2395, allocations: 6.312 MB / 389.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001293/0.2396, allocations: 19.73 kB / 389.5 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005517/0.2402, allocations: 308 kB / 389.8 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003273/0.2405, allocations: 0.4922 MB / 390.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005538/0.246, allocations: 3.352 MB / 393.7 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0324/0.2784, allocations: 24.62 MB / 418.3 MB, free: 80 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005453/0.2839, allocations: 4.997 MB / 423.3 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.2851, allocations: 1.02 MB / 424.3 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.2853, allocations: 119.1 kB / 424.4 MB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.2854, allocations: 85.77 kB / 424.5 MB, free: 9.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 6.492e-06/0.2854, allocations: 0 / 424.5 MB, free: 9.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.01392/0.2993, allocations: 7.585 MB / 432.1 MB, free: 2.223 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.2994, allocations: 98.67 kB / 432.2 MB, free: 2.113 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/0.3011, allocations: 1.813 MB / 434 MB, free: 284 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.3012, allocations: 93.7 kB / 434.1 MB, free: 184 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1339/0.4351, allocations: 2.861 MB / 436.9 MB, free: 93.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001391/0.4365, allocations: 1.447 MB / 438.4 MB, free: 92.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001471/0.438, allocations: 0.8843 MB / 439.3 MB, free: 92.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.999e-05/0.438, allocations: 305.3 kB / 439.6 MB, free: 92.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.4395, allocations: 0.6745 MB / 440.3 MB, free: 92.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/0.4414, allocations: 2.164 MB / 442.4 MB, free: 90.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004039/0.4454, allocations: 3.349 MB / 445.8 MB, free: 88.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.497e-05/0.4455, allocations: 14.47 kB / 445.8 MB, free: 88.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.005319/0.4508, allocations: 3.402 MB / 449.2 MB, free: 88.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.4509, allocations: 25.47 kB / 449.2 MB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-05/0.4509, allocations: 54.25 kB / 449.3 MB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/0.4529, allocations: 1.03 MB / 450.3 MB, free: 88.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/0.4548, allocations: 1.029 MB / 451.3 MB, free: 88.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005069/0.4598, allocations: 5.593 MB / 456.9 MB, free: 85.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.4616, allocations: 172.1 kB / 457.1 MB, free: 85.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/0.4619, allocations: 185.8 kB / 457.3 MB, free: 85.86 MB / 378.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.001518/0.4634, allocations: 438.4 kB / 457.7 MB, free: 85.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005561/0.464, allocations: 339 kB / 458 MB, free: 85.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/0.4674, allocations: 2.793 MB / 460.8 MB, free: 85.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.4674, allocations: 48.98 kB / 460.9 MB, free: 85.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.4674, allocations: 7.562 kB / 460.9 MB, free: 85.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/0.4675, allocations: 18.66 kB / 460.9 MB, free: 85.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008499/0.476, allocations: 7.412 MB / 468.3 MB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.476, allocations: 7 kB / 468.3 MB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.4773, allocations: 0.6456 MB / 469 MB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/0.479, allocations: 0.9356 MB / 469.9 MB, free: 84.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.4791, allocations: 93.59 kB / 470 MB, free: 84.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00416/0.4833, allocations: 5.233 MB / 475.2 MB, free: 79.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.4833, allocations: 11.47 kB / 475.2 MB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003922/0.4872, allocations: 3.509 MB / 478.7 MB, free: 76.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009445/0.4881, allocations: 485.3 kB / 479.2 MB, free: 76.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002752/0.4884, allocations: 81.98 kB / 479.3 MB, free: 76.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007628/0.4892, allocations: 112 kB / 479.4 MB, free: 76.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003281/0.4895, allocations: 306.3 kB / 479.7 MB, free: 75.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/0.4897, allocations: 99.52 kB / 479.8 MB, free: 75.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007794/0.4904, allocations: 0.8484 MB / 480.6 MB, free: 75.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4904, allocations: 0 / 480.6 MB, free: 75.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003784/0.4942, allocations: 1.383 MB / 482 MB, free: 73.63 MB / 378.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.000481/0.4947, allocations: 258.2 kB / 482.3 MB, free: 73.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00378/0.4985, allocations: 3.054 MB / 485.3 MB, free: 70.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.966e-05/0.4985, allocations: 39.84 kB / 485.4 MB, free: 70.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.5003, allocations: 1.83 MB / 487.2 MB, free: 68.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.5021, allocations: 0.7428 MB / 487.9 MB, free: 68.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.514, allocations: 11.23 MB / 499.2 MB, free: 56.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.5151, allocations: 1.514 MB / 0.4889 GB, free: 55.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001605/0.5167, allocations: 0.5826 MB / 0.4895 GB, free: 54.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/0.518, allocations: 0.7881 MB / 0.4903 GB, free: 53.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/0.518, allocations: 0 / 0.4903 GB, free: 53.91 MB / 378.7 MB Notification: Performance of Templates: time 0.0684/0.5864, allocations: 60.11 MB / 0.549 GB, free: 10.7 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.278189800214022]