Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.001682/0.001682, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001947/0.003629, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.00116/0.00116, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00144/0.0026, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.8814/0.8814, allocations: 177.4 MB / 189.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.082/0.9634, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|//aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|//aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.624e-06/2.624e-06, allocations: 4 kB / 245.1 MB, free: 13.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.491e-05, allocations: 5.828 kB / 245.1 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01321/0.01322, allocations: 13.82 MB / 258.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007386/0.02061, allocations: 5.484 MB / 264.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.02203, allocations: 107.4 kB / 264.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002082/0.02411, allocations: 1.083 MB / 265.5 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.02702, allocations: 1.502 MB / 267 MB, free: 7.527 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.02855, allocations: 1.013 MB / 268.1 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003684/0.03223, allocations: 4.595 MB / 272.7 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1026/0.1348, allocations: 1.84 MB / 274.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004435/0.1393, allocations: 3.481 MB / 278 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002713/0.142, allocations: 2.093 MB / 280.1 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.143, allocations: 0.5284 MB / 280.6 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.1445, allocations: 0.9095 MB / 281.5 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000873/0.1454, allocations: 1.163 MB / 282.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001435/0.1468, allocations: 1.306 MB / 284 MB, free: 2.969 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.1497, allocations: 3.724 MB / 287.7 MB, free: 2.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.1497, allocations: 1.156 kB / 287.7 MB, free: 2.598 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1497, allocations: 3.656 kB / 287.7 MB, free: 2.598 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.908e-05/0.1498, allocations: 0 / 287.7 MB, free: 2.598 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.005338/0.1551, allocations: 5.753 MB / 293.5 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.629e-05/0.1551, allocations: 10.69 kB / 293.5 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/0.1574, allocations: 1.179 MB / 294.6 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.1594, allocations: 1.772 MB / 296.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-05/0.1595, allocations: 250.6 kB / 296.7 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003046/0.1598, allocations: 341.7 kB / 297 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.1624, allocations: 2.559 MB / 299.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.033e-05/0.1624, allocations: 7.281 kB / 299.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002109/0.1626, allocations: 137 kB / 299.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.1628, allocations: 153.3 kB / 299.8 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.1642, allocations: 1.004 MB / 300.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008804/0.173, allocations: 8.712 MB / 309.6 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.1753, allocations: 1.825 MB / 311.4 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008363/0.1761, allocations: 0.7658 MB / 312.2 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002779/0.1789, allocations: 2.128 MB / 314.3 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.179, allocations: 51.86 kB / 314.3 MB, free: 216 kB / 282.7 MB Notification: Performance of pre-optimization done (n=165): time 2.485e-06/0.179, allocations: 0 / 314.3 MB, free: 216 kB / 282.7 MB Notification: Performance of matching and sorting (n=185): time 0.005962/0.1849, allocations: 3.981 MB / 318.3 MB, free: 12.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.185, allocations: 69.41 kB / 318.4 MB, free: 12.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.1861, allocations: 1.74 MB / 320.1 MB, free: 10.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.616e-05/0.1862, allocations: 57.7 kB / 320.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005245/0.1867, allocations: 1.319 MB / 321.5 MB, free: 9.414 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003006/0.187, allocations: 0.6523 MB / 322.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003103/0.1874, allocations: 329.2 kB / 322.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.1874, allocations: 301.1 kB / 322.8 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.1877, allocations: 238.7 kB / 323 MB, free: 7.984 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/0.1882, allocations: 0.6279 MB / 323.6 MB, free: 7.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008898/0.1891, allocations: 1.048 MB / 324.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.1891, allocations: 4 kB / 324.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.001533/0.1906, allocations: 1.334 MB / 326 MB, free: 4.883 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.1906, allocations: 15.94 kB / 326 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.1907, allocations: 16.23 kB / 326 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008018/0.1915, allocations: 452.3 kB / 326.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.1925, allocations: 0.4933 MB / 327 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003558/0.196, allocations: 4.751 MB / 331.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.1965, allocations: 59.98 kB / 331.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.675e-05/0.1966, allocations: 56.22 kB / 331.8 MB, free: 15 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (198): * Single equations (assignments): 194 * Array equations: 2 * 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,6,100.0%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004908/0.1971, allocations: 229.1 kB / 332.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/0.1973, allocations: 195.8 kB / 332.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.1989, allocations: 1.303 MB / 333.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.1989, allocations: 24 kB / 333.6 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.1989, allocations: 8 kB / 333.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.1989, allocations: 11.95 kB / 333.6 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003095/0.202, allocations: 2.722 MB / 336.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.202, allocations: 0 / 336.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007314/0.2027, allocations: 338.3 kB / 336.7 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.2031, allocations: 262.2 kB / 336.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008648/0.204, allocations: 0.4963 MB / 337.4 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.465e-05/0.2041, allocations: 39.98 kB / 337.4 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004551/0.2086, allocations: 7.828 MB / 345.3 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2086, allocations: 0 / 345.3 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.2104, allocations: 1.68 MB / 347 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.2106, allocations: 43.94 kB / 347 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.211, allocations: 51.98 kB / 347.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.2112, allocations: 145.6 kB / 347.2 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.688e-05/0.2113, allocations: 35.98 kB / 347.2 MB, free: 15.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006042/0.2119, allocations: 0.8186 MB / 348 MB, free: 14.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2119, allocations: 4 kB / 348.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001298/0.2132, allocations: 0.6818 MB / 348.7 MB, free: 14.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi,PI.x) * 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 (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/0.2143, allocations: 0.5554 MB / 349.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.2158, allocations: 1.517 MB / 350.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-05/0.2159, allocations: 35.12 kB / 350.8 MB, free: 12.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.2169, allocations: 1.273 MB / 352.1 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.218, allocations: 0.67 MB / 352.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02108/0.2391, allocations: 5.979 MB / 358.8 MB, free: 4.551 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007025/0.2398, allocations: 0.7966 MB / 359.6 MB, free: 3.734 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007556/0.2406, allocations: 294.2 kB / 359.8 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007883/0.2414, allocations: 0.4913 MB / 360.3 MB, free: 2.949 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2414, allocations: 0 / 360.3 MB, free: 2.949 MB / 330.7 MB Notification: Performance of Templates: time 0.04498/0.2864, allocations: 37.74 MB / 398.1 MB, free: 13.69 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.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.008360815234482]