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.001009/0.001009, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009625/0.0009625, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9298/0.9298, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] 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.693e-06/1.693e-06, allocations: 0 / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.418e-05/3.588e-05, allocations: 5.266 kB / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1659/0.1659, allocations: 21.23 MB / 294.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01543/0.1813, allocations: 6.698 MB / 300.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005051/0.1864, allocations: 175.2 kB / 301.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01042/0.1968, allocations: 7.305 MB / 308.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009194/0.206, allocations: 2.868 MB / 311.2 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003846/0.2099, allocations: 1.587 MB / 312.8 MB, free: 7.781 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009896/0.2197, allocations: 9.451 MB / 322.3 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01721/0.237, allocations: 10.95 MB / 333.2 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009893/0.2469, allocations: 7.024 MB / 340.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007855/0.2547, allocations: 4.936 MB / 345.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003316/0.258, allocations: 1.355 MB / 346.5 MB, free: 9.051 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00488/0.2629, allocations: 1.691 MB / 348.2 MB, free: 7.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002004/0.2649, allocations: 2.708 MB / 350.9 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006122/0.271, allocations: 3.373 MB / 354.3 MB, free: 1.262 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.011/0.282, allocations: 8.5 MB / 362.8 MB, free: 8.738 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.282, allocations: 0 / 362.8 MB, free: 8.738 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.282, allocations: 0 / 362.8 MB, free: 8.738 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003682/0.2824, allocations: 0 / 362.8 MB, free: 8.738 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.01911/0.3015, allocations: 11.26 MB / 374.1 MB, free: 13.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.3016, allocations: 15.98 kB / 374.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01863/0.3202, allocations: 7.284 MB / 381.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009355/0.3295, allocations: 5.537 MB / 386.9 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004313/0.33, allocations: 0.5617 MB / 387.5 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002267/0.3322, allocations: 0.7265 MB / 388.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/0.3499, allocations: 6.746 MB / 394.9 MB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001674/0.35, allocations: 19.83 kB / 395 MB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006866/0.3507, allocations: 316 kB / 395.3 MB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003938/0.3511, allocations: 496 kB / 395.7 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.3614, allocations: 4.022 MB / 399.8 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04344/0.4049, allocations: 32.69 MB / 432.5 MB, free: 1.965 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1742/0.5791, allocations: 7.029 MB / 439.5 MB, free: 85.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003236/0.5823, allocations: 1.371 MB / 440.9 MB, free: 85.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003171/0.5826, allocations: 122 kB / 441 MB, free: 85.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.32e-05/0.5827, allocations: 78.3 kB / 441.1 MB, free: 85.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 7.905e-06/0.5827, allocations: 0 / 441.1 MB, free: 85.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.01893/0.6016, allocations: 10.13 MB / 451.2 MB, free: 84.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.6016, allocations: 97.3 kB / 451.3 MB, free: 84.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00292/0.6046, allocations: 2.471 MB / 453.7 MB, free: 84.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000187/0.6048, allocations: 96.36 kB / 453.8 MB, free: 84.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.6062, allocations: 3.324 MB / 457.2 MB, free: 82.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007642/0.6069, allocations: 1.495 MB / 458.7 MB, free: 82.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/0.608, allocations: 1.041 MB / 459.7 MB, free: 82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.536e-05/0.6081, allocations: 476.8 kB / 460.2 MB, free: 81.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.6094, allocations: 0.8106 MB / 461 MB, free: 81.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/0.6116, allocations: 3.199 MB / 464.2 MB, free: 78.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003892/0.6154, allocations: 4.459 MB / 468.6 MB, free: 75.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-05/0.6155, allocations: 14.28 kB / 468.7 MB, free: 75.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.006918/0.6224, allocations: 4.64 MB / 473.3 MB, free: 75.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.6225, allocations: 26.97 kB / 473.3 MB, free: 75.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-05/0.6225, allocations: 62.17 kB / 473.4 MB, free: 75.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002232/0.6247, allocations: 1.121 MB / 474.5 MB, free: 75.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/0.6268, allocations: 1.13 MB / 475.6 MB, free: 74.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007051/0.6339, allocations: 7.7 MB / 483.3 MB, free: 68.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.636, allocations: 270.6 kB / 483.6 MB, free: 68.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002694/0.6363, allocations: 238.1 kB / 483.8 MB, free: 68.35 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.001871/0.6382, allocations: 483.6 kB / 484.3 MB, free: 68.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005989/0.6388, allocations: 483.2 kB / 484.8 MB, free: 67.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005048/0.6438, allocations: 3.752 MB / 488.5 MB, free: 65.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.6438, allocations: 44 kB / 488.6 MB, free: 65.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.6438, allocations: 8 kB / 488.6 MB, free: 65.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/0.6439, allocations: 22.83 kB / 488.6 MB, free: 65.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/0.6573, allocations: 10.29 MB / 498.9 MB, free: 56.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.6573, allocations: 4 kB / 498.9 MB, free: 56.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.6588, allocations: 0.7429 MB / 499.6 MB, free: 55.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/0.6609, allocations: 1.031 MB / 0.4889 GB, free: 54.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/0.6611, allocations: 99.97 kB / 0.489 GB, free: 54.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005832/0.6669, allocations: 7.241 MB / 0.4961 GB, free: 47.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6669, allocations: 11.41 kB / 0.4961 GB, free: 47.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006763/0.6737, allocations: 4.861 MB / 0.5009 GB, free: 42.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/0.6751, allocations: 0.7864 MB / 0.5016 GB, free: 41.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/0.6754, allocations: 92.81 kB / 0.5017 GB, free: 41.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009222/0.6763, allocations: 191.8 kB / 0.5019 GB, free: 41.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00046/0.6768, allocations: 324.8 kB / 0.5022 GB, free: 40.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/0.6769, allocations: 132 kB / 0.5023 GB, free: 40.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00137/0.6783, allocations: 1.201 MB / 0.5035 GB, free: 39.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6783, allocations: 0 / 0.5035 GB, free: 39.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003793/0.6821, allocations: 1.379 MB / 0.5048 GB, free: 38.04 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.0004515/0.6825, allocations: 267.5 kB / 0.5051 GB, free: 37.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005371/0.6879, allocations: 3.934 MB / 0.5089 GB, free: 34.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.6879, allocations: 1.938 kB / 0.5089 GB, free: 34.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002754/0.6907, allocations: 2.324 MB / 0.5112 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/0.693, allocations: 0.7622 MB / 0.512 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/0.7078, allocations: 11.67 MB / 0.5234 GB, free: 19.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/0.7095, allocations: 2.105 MB / 0.5254 GB, free: 17.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002367/0.7119, allocations: 1.343 MB / 0.5267 GB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006602/0.7126, allocations: 320.4 kB / 0.527 GB, free: 15.36 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/0.7126, allocations: 0 / 0.527 GB, free: 15.36 MB / 378.7 MB Notification: Performance of Templates: time 0.2204/0.933, allocations: 54.97 MB / 0.5807 GB, free: 117.7 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","",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.952805903274566]