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.0009981/0.0009981, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001552/0.001552, allocations: 169 kB / 24.82 MB, free: 9.266 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 1.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.413e-06/1.413e-06, allocations: 0 / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.081e-05, allocations: 6.25 kB / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1164/0.1164, allocations: 20.3 MB / 293.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.1275, allocations: 6.658 MB / 300.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002419/0.1299, allocations: 171.7 kB / 300.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008513/0.1384, allocations: 7.063 MB / 307.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005107/0.1435, allocations: 2.858 MB / 310.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.1459, allocations: 1.562 MB / 312 MB, free: 8.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006238/0.1521, allocations: 9.458 MB / 321.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01863/0.1707, allocations: 10.95 MB / 332.5 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/0.1812, allocations: 7.04 MB / 339.5 MB, free: 40 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007134/0.1884, allocations: 5.092 MB / 344.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003144/0.1915, allocations: 1.352 MB / 345.9 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005168/0.1967, allocations: 1.694 MB / 347.6 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003774/0.2005, allocations: 2.704 MB / 350.3 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00687/0.2073, allocations: 3.361 MB / 353.7 MB, free: 1.809 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.2182, allocations: 8.5 MB / 362.2 MB, free: 9.281 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2182, allocations: 4 kB / 362.2 MB, free: 9.277 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2182, allocations: 0 / 362.2 MB, free: 9.277 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003735/0.2186, allocations: 0 / 362.2 MB, free: 9.277 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.01858/0.2371, allocations: 10.38 MB / 372.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2372, allocations: 12.03 kB / 372.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01676/0.254, allocations: 5.549 MB / 378.1 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007363/0.2613, allocations: 5.174 MB / 383.3 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003728/0.2617, allocations: 0.5617 MB / 383.9 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001474/0.2632, allocations: 0.7343 MB / 384.6 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/0.2734, allocations: 6.178 MB / 390.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/0.2736, allocations: 11.94 kB / 390.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005377/0.2741, allocations: 312 kB / 391.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003323/0.2744, allocations: 496.1 kB / 391.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005574/0.28, allocations: 3.141 MB / 394.7 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03639/0.3164, allocations: 32.27 MB / 427 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006242/0.3226, allocations: 6.264 MB / 433.3 MB, free: 2.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.324, allocations: 1.171 MB / 434.4 MB, free: 1.004 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/0.3242, allocations: 151.1 kB / 434.6 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.3243, allocations: 76.61 kB / 434.7 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 6.803e-06/0.3243, allocations: 0 / 434.7 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.1492/0.4735, allocations: 8.439 MB / 443.1 MB, free: 90.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.4736, allocations: 98.14 kB / 443.2 MB, free: 90.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/0.476, allocations: 2.451 MB / 445.6 MB, free: 90.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.4762, allocations: 97.61 kB / 445.7 MB, free: 90.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.4774, allocations: 3.341 MB / 449.1 MB, free: 88.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006799/0.4781, allocations: 1.509 MB / 450.6 MB, free: 88.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009544/0.4791, allocations: 1.054 MB / 451.6 MB, free: 88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.758e-05/0.4791, allocations: 476.8 kB / 452.1 MB, free: 87.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007951/0.4799, allocations: 0.617 MB / 452.7 MB, free: 87.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.4814, allocations: 3.029 MB / 455.8 MB, free: 84.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002815/0.4842, allocations: 4.13 MB / 459.9 MB, free: 81.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.884e-05/0.4842, allocations: 18.56 kB / 459.9 MB, free: 81.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.005002/0.4892, allocations: 4.189 MB / 464.1 MB, free: 81.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.4892, allocations: 30.16 kB / 464.1 MB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.294e-05/0.4893, allocations: 46.56 kB / 464.2 MB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.4912, allocations: 1.081 MB / 465.2 MB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.4931, allocations: 1.043 MB / 466.3 MB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005929/0.499, allocations: 7.385 MB / 473.7 MB, free: 77.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.5011, allocations: 173.1 kB / 473.8 MB, free: 77.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002576/0.5013, allocations: 197.6 kB / 474 MB, free: 77.52 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.001579/0.5029, allocations: 484.9 kB / 474.5 MB, free: 77.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006107/0.5035, allocations: 479.3 kB / 475 MB, free: 77.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/0.5075, allocations: 3.378 MB / 478.4 MB, free: 75.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.5076, allocations: 40 kB / 478.4 MB, free: 75.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.5076, allocations: 12 kB / 478.4 MB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/0.5076, allocations: 22.92 kB / 478.4 MB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/0.5187, allocations: 9.789 MB / 488.2 MB, free: 69.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.5187, allocations: 7.984 kB / 488.2 MB, free: 69.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/0.5201, allocations: 0.6641 MB / 488.9 MB, free: 68.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/0.5219, allocations: 0.9795 MB / 489.9 MB, free: 67.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/0.5221, allocations: 96.95 kB / 490 MB, free: 67.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004935/0.527, allocations: 6.94 MB / 496.9 MB, free: 60.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.527, allocations: 11.28 kB / 496.9 MB, free: 60.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005092/0.5321, allocations: 4.307 MB / 0.4895 GB, free: 56.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/0.5333, allocations: 0.7261 MB / 0.4902 GB, free: 55.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002748/0.5336, allocations: 76 kB / 0.4903 GB, free: 55.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008379/0.5344, allocations: 112 kB / 0.4904 GB, free: 55.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004061/0.5348, allocations: 317.5 kB / 0.4907 GB, free: 54.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.535, allocations: 95.97 kB / 0.4908 GB, free: 54.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001031/0.536, allocations: 1.116 MB / 0.4918 GB, free: 53.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.536, allocations: 2.188 kB / 0.4919 GB, free: 53.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003766/0.5398, allocations: 1.387 MB / 0.4932 GB, free: 52.44 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.0004294/0.5402, allocations: 275.9 kB / 0.4935 GB, free: 52.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004144/0.5443, allocations: 3.554 MB / 0.4969 GB, free: 48.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.5443, allocations: 0 / 0.4969 GB, free: 48.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002177/0.5465, allocations: 2.119 MB / 0.499 GB, free: 46.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.5487, allocations: 0.7618 MB / 0.4998 GB, free: 46.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/0.5619, allocations: 11.54 MB / 0.511 GB, free: 34.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/0.5635, allocations: 2.092 MB / 0.5131 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001684/0.5651, allocations: 0.5787 MB / 0.5136 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/0.5665, allocations: 0.8767 MB / 0.5145 GB, free: 30.89 MB / 378.7 MB Notification: Performance of SimCode: time 1.343e-06/0.5665, allocations: 0 / 0.5145 GB, free: 30.89 MB / 378.7 MB Notification: Performance of Templates: time 0.07577/0.6422, allocations: 59.89 MB / 0.573 GB, free: 3.918 MB / 410.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.450375166721642]