Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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.0009714/0.0009714, allocations: 84.34 kB / 22.22 MB, free: 2.281 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.001017/0.001017, allocations: 169.2 kB / 25.61 MB, free: 8.871 MB / 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.8737/0.8737, allocations: 177 MB / 205.9 MB, free: 4.434 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 274.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.429e-05, allocations: 3.719 kB / 274.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01131/0.01133, allocations: 13.49 MB / 287.6 MB, free: 6.699 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007074/0.0184, allocations: 5.072 MB / 292.7 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.01963, allocations: 103.4 kB / 292.8 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.02173, allocations: 1.118 MB / 293.9 MB, free: 404 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002503/0.02424, allocations: 1.464 MB / 295.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.02562, allocations: 0.9893 MB / 296.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002995/0.02861, allocations: 4.335 MB / 300.7 MB, free: 9.578 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/0.03054, allocations: 1.75 MB / 302.5 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002502/0.03304, allocations: 3.002 MB / 305.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.03476, allocations: 2.011 MB / 307.5 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004587/0.03522, allocations: 0.5039 MB / 308 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009864/0.03621, allocations: 0.7456 MB / 308.7 MB, free: 1.484 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.03729, allocations: 1.18 MB / 309.9 MB, free: 308 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.03843, allocations: 1.458 MB / 311.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00323/0.04166, allocations: 3.534 MB / 314.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.04167, allocations: 3.938 kB / 314.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.04167, allocations: 0 / 314.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.718e-05/0.0417, allocations: 0 / 314.9 MB, free: 11.29 MB / 298.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.005814/0.04752, allocations: 4.639 MB / 319.5 MB, free: 6.582 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.04756, allocations: 12.03 kB / 319.6 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002638/0.0502, allocations: 1.169 MB / 320.7 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/0.05255, allocations: 2.275 MB / 323 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.05267, allocations: 238.7 kB / 323.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005634/0.05324, allocations: 327.9 kB / 323.6 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.05583, allocations: 2.373 MB / 325.9 MB, free: 52 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-05/0.05589, allocations: 11.94 kB / 325.9 MB, free: 40 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002017/0.05609, allocations: 128.1 kB / 326.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.05619, allocations: 154.4 kB / 326.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.05758, allocations: 0.9455 MB / 327.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/0.06776, allocations: 10.5 MB / 337.7 MB, free: 3.992 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/0.07029, allocations: 1.888 MB / 339.6 MB, free: 2.234 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.07142, allocations: 0.9084 MB / 340.5 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003078/0.0745, allocations: 2.58 MB / 343 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006199/0.07512, allocations: 0.6655 MB / 343.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 2.685e-06/0.07512, allocations: 0 / 343.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.00563/0.08075, allocations: 3.435 MB / 347.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/0.08083, allocations: 230.9 kB / 347.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.08196, allocations: 1.453 MB / 348.8 MB, free: 8.719 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.08202, allocations: 49.7 kB / 348.9 MB, free: 8.664 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008484/0.08287, allocations: 1.634 MB / 350.5 MB, free: 7.012 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002816/0.08315, allocations: 0.5191 MB / 351 MB, free: 6.488 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003314/0.08348, allocations: 340.9 kB / 351.4 MB, free: 6.148 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.271e-05/0.08357, allocations: 476.8 kB / 351.8 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.08384, allocations: 191.8 kB / 352 MB, free: 5.492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008983/0.08473, allocations: 1.133 MB / 353.1 MB, free: 3.996 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009691/0.0857, allocations: 1.246 MB / 354.4 MB, free: 2.465 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.08571, allocations: 4 kB / 354.4 MB, free: 2.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001569/0.08728, allocations: 1.452 MB / 355.8 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.0873, allocations: 12 kB / 355.9 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.08731, allocations: 16 kB / 355.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004974/0.08781, allocations: 282.1 kB / 356.1 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007503/0.08856, allocations: 367.4 kB / 356.5 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1144/0.2029, allocations: 6.713 MB / 363.2 MB, free: 57.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.204, allocations: 81.88 kB / 363.3 MB, free: 57.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/0.2041, allocations: 61.33 kB / 363.4 MB, free: 57.91 MB / 330.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 (195): * Single equations (assignments): 191 * 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,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006007/0.2047, allocations: 273.6 kB / 363.6 MB, free: 57.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.2049, allocations: 236.6 kB / 363.9 MB, free: 57.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.2066, allocations: 1.269 MB / 365.1 MB, free: 57.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.2066, allocations: 15.56 kB / 365.1 MB, free: 57.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.2066, allocations: 6.938 kB / 365.1 MB, free: 57.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.2066, allocations: 7.984 kB / 365.2 MB, free: 57.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/0.21, allocations: 2.976 MB / 368.1 MB, free: 57.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.21, allocations: 3.594 kB / 368.1 MB, free: 57.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.2104, allocations: 170.9 kB / 368.3 MB, free: 57.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007536/0.2111, allocations: 432.3 kB / 368.7 MB, free: 57.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/0.2112, allocations: 41.14 kB / 368.8 MB, free: 57.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003896/0.2151, allocations: 11.48 MB / 380.2 MB, free: 47.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.2151, allocations: 3.75 kB / 380.2 MB, free: 47.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.2167, allocations: 1.656 MB / 381.9 MB, free: 47.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003465/0.2171, allocations: 313.4 kB / 382.2 MB, free: 47.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.2172, allocations: 36.03 kB / 382.2 MB, free: 47.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.2176, allocations: 52.27 kB / 382.3 MB, free: 47.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.2178, allocations: 107 kB / 382.4 MB, free: 47.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/0.2178, allocations: 33.17 kB / 382.4 MB, free: 47.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005227/0.2183, allocations: 0.7752 MB / 383.2 MB, free: 47.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2183, allocations: 0 / 383.2 MB, free: 47.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001248/0.2196, allocations: 0.5812 MB / 383.8 MB, free: 47.01 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 (100): * Single equations (assignments): 93 * 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,8,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,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.0008975/0.2205, allocations: 462.8 kB / 384.2 MB, free: 46.85 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.2217, allocations: 1.494 MB / 385.7 MB, free: 46.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2217, allocations: 0 / 385.7 MB, free: 46.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009084/0.2226, allocations: 1.522 MB / 387.3 MB, free: 45.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.2237, allocations: 485.3 kB / 387.7 MB, free: 45.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005152/0.2288, allocations: 5.043 MB / 392.8 MB, free: 43.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.2294, allocations: 0.808 MB / 393.6 MB, free: 42.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007299/0.2302, allocations: 257.5 kB / 393.8 MB, free: 42.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006679/0.2308, allocations: 0.5104 MB / 394.3 MB, free: 42.76 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2308, allocations: 0 / 394.3 MB, free: 42.76 MB / 330.7 MB Notification: Performance of Templates: time 0.03248/0.2633, allocations: 30.51 MB / 424.9 MB, free: 14.38 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 5.444163263775408]