Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9501/0.9501, allocations: 173.4 MB / 201.1 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.668e-05, allocations: 2.312 kB / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01584/0.01586, allocations: 13.35 MB / 281.4 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009849/0.02571, allocations: 4.75 MB / 286.1 MB, free: 4.223 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.02813, allocations: 99.38 kB / 286.2 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002589/0.03072, allocations: 1.103 MB / 287.3 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003013/0.03373, allocations: 1.456 MB / 288.8 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.03536, allocations: 0.973 MB / 289.7 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.118/0.1534, allocations: 4.241 MB / 294 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/0.1557, allocations: 1.747 MB / 295.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004361/0.16, allocations: 2.982 MB / 298.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00305/0.1631, allocations: 1.995 MB / 300.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008545/0.1639, allocations: 0.5061 MB / 301.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.1654, allocations: 0.7284 MB / 301.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006251/0.1661, allocations: 1.18 MB / 303.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.1676, allocations: 1.451 MB / 304.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003517/0.1711, allocations: 3.505 MB / 308.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1711, allocations: 0.5 kB / 308.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1711, allocations: 0.625 kB / 308.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.213e-05/0.1712, allocations: 0 / 308.1 MB, free: 11.7 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.006161/0.1774, allocations: 4.711 MB / 312.8 MB, free: 9.102 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1774, allocations: 7.891 kB / 312.8 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/0.1799, allocations: 1.263 MB / 314.1 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/0.1825, allocations: 2.337 MB / 316.4 MB, free: 6.355 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.069e-05/0.1826, allocations: 240.1 kB / 316.6 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.1829, allocations: 326.6 kB / 317 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/0.1863, allocations: 2.578 MB / 319.5 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-05/0.1864, allocations: 7.953 kB / 319.5 MB, free: 3.137 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.1866, allocations: 134.6 kB / 319.7 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-05/0.1866, allocations: 150.4 kB / 319.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.1889, allocations: 1.22 MB / 321 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/0.2009, allocations: 10.51 MB / 331.6 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/0.2036, allocations: 2.021 MB / 333.6 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.2046, allocations: 0.7112 MB / 334.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003579/0.2082, allocations: 2.464 MB / 336.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000749/0.2089, allocations: 0.7075 MB / 337.5 MB, free: 1.312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=132): time 2.535e-06/0.2089, allocations: 0 / 337.5 MB, free: 1.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=140): time 0.006855/0.2158, allocations: 3.995 MB / 341.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.2159, allocations: 222.9 kB / 341.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.2176, allocations: 1.459 MB / 343.1 MB, free: 11.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.203e-05/0.2177, allocations: 45.7 kB / 343.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.2188, allocations: 1.605 MB / 344.8 MB, free: 9.863 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/0.2192, allocations: 0.5052 MB / 345.3 MB, free: 9.363 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.2196, allocations: 340 kB / 345.6 MB, free: 9.031 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2197, allocations: 476.8 kB / 346.1 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007378/0.2204, allocations: 251.8 kB / 346.3 MB, free: 8.316 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007869/0.2212, allocations: 1.177 MB / 347.5 MB, free: 6.789 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.2225, allocations: 1.328 MB / 348.8 MB, free: 5.238 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/0.2225, allocations: 4 kB / 348.8 MB, free: 5.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001981/0.2244, allocations: 1.536 MB / 350.4 MB, free: 3.781 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.2245, allocations: 23.88 kB / 350.4 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.2245, allocations: 16 kB / 350.4 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000546/0.225, allocations: 248.1 kB / 350.7 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/0.2258, allocations: 380.9 kB / 351 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003744/0.2295, allocations: 6.662 MB / 357.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008044/0.2303, allocations: 96 kB / 357.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/0.2304, allocations: 68 kB / 357.8 MB, free: 11.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * 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: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000679/0.2311, allocations: 267.6 kB / 358.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.2313, allocations: 234.7 kB / 358.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.233, allocations: 1.331 MB / 359.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.233, allocations: 15.94 kB / 359.7 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.233, allocations: 8 kB / 359.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.2331, allocations: 7.969 kB / 359.7 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004572/0.2376, allocations: 3.542 MB / 363.2 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.2376, allocations: 0 / 363.2 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.2381, allocations: 192.1 kB / 363.4 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008291/0.2389, allocations: 420.1 kB / 363.8 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.523e-05/0.239, allocations: 39.98 kB / 363.9 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00621/0.2452, allocations: 11.52 MB / 375.4 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2452, allocations: 3.938 kB / 375.4 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.2475, allocations: 1.761 MB / 377.2 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004761/0.248, allocations: 314.7 kB / 377.5 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.2482, allocations: 35.98 kB / 377.5 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.2485, allocations: 59.91 kB / 377.6 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.2487, allocations: 116.5 kB / 377.7 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.2488, allocations: 35.98 kB / 377.7 MB, free: 7.527 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009037/0.2497, allocations: 0.8291 MB / 378.5 MB, free: 6.703 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2497, allocations: 0 / 378.5 MB, free: 6.703 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001505/0.2512, allocations: 0.578 MB / 379.1 MB, free: 6.125 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009879/0.2522, allocations: 463.7 kB / 379.6 MB, free: 5.836 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.2541, allocations: 1.563 MB / 381.1 MB, free: 4.273 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.2541, allocations: 8.25 kB / 381.1 MB, free: 4.266 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.2557, allocations: 1.544 MB / 382.7 MB, free: 2.652 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.257, allocations: 450 kB / 383.1 MB, free: 2.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006935/0.2639, allocations: 5.063 MB / 388.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000647/0.2646, allocations: 0.7998 MB / 389 MB, free: 12.28 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008337/0.2654, allocations: 339.3 kB / 389.3 MB, free: 11.94 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.2656, allocations: 120.5 kB / 389.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.854e-06/0.2656, allocations: 0 / 389.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of Templates: time 0.03723/0.3029, allocations: 28.58 MB / 418 MB, free: 15.73 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 6.282503402326256]