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.001264/0.001264, allocations: 95.5 kB / 21.2 MB, free: 3.375 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.001406/0.001406, allocations: 160.5 kB / 24.56 MB, free: 20 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.8527/0.8527, allocations: 177 MB / 204.8 MB, free: 5.594 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.442e-06/1.442e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.926e-05, allocations: 2.312 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01605/0.01606, allocations: 13.98 MB / 286.9 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1074/0.1235, allocations: 5.111 MB / 292 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.1253, allocations: 105 kB / 292.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.1275, allocations: 1.119 MB / 293.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002662/0.1302, allocations: 1.475 MB / 294.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.1317, allocations: 0.9994 MB / 295.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003382/0.1351, allocations: 4.321 MB / 300 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/0.1371, allocations: 1.752 MB / 301.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.1398, allocations: 3.002 MB / 304.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/0.1419, allocations: 2.002 MB / 306.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004936/0.1423, allocations: 0.5025 MB / 307.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008881/0.1432, allocations: 0.7563 MB / 308.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004897/0.1437, allocations: 1.181 MB / 309.2 MB, free: 9.688 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.1447, allocations: 1.451 MB / 310.7 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002325/0.1471, allocations: 3.554 MB / 314.2 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1471, allocations: 0 / 314.2 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1471, allocations: 0 / 314.2 MB, free: 6.637 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.693e-05/0.1471, allocations: 0 / 314.2 MB, free: 6.637 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.004947/0.152, allocations: 4.747 MB / 319 MB, free: 1.848 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1521, allocations: 11.98 kB / 319 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/0.1544, allocations: 1.249 MB / 320.3 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.1567, allocations: 2.369 MB / 322.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.1568, allocations: 247.1 kB / 322.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/0.1571, allocations: 329.8 kB / 323.2 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/0.1604, allocations: 2.583 MB / 325.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-05/0.1604, allocations: 7.047 kB / 325.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/0.1606, allocations: 130.7 kB / 325.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.1607, allocations: 154.4 kB / 326.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00235/0.1631, allocations: 1.226 MB / 327.3 MB, free: 9.543 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.1736, allocations: 10.54 MB / 337.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/0.1763, allocations: 2.07 MB / 339.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.1776, allocations: 0.9844 MB / 340.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00313/0.1807, allocations: 2.654 MB / 343.5 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006861/0.1814, allocations: 0.7112 MB / 344.2 MB, free: 8.637 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 2.726e-06/0.1814, allocations: 0 / 344.2 MB, free: 8.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=140): time 0.00586/0.1873, allocations: 4.126 MB / 348.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.1873, allocations: 222.9 kB / 348.6 MB, free: 4.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.1887, allocations: 1.497 MB / 350.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.139e-05/0.1887, allocations: 45.7 kB / 350.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008225/0.1896, allocations: 1.623 MB / 351.7 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/0.1898, allocations: 0.5103 MB / 352.3 MB, free: 480 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/0.1902, allocations: 337.1 kB / 352.6 MB, free: 136 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1903, allocations: 476.8 kB / 353.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.1907, allocations: 247.8 kB / 353.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007846/0.1915, allocations: 1.188 MB / 354.5 MB, free: 13.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.1927, allocations: 1.341 MB / 355.8 MB, free: 12.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.1927, allocations: 4 kB / 355.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001913/0.1946, allocations: 1.596 MB / 357.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1946, allocations: 12 kB / 357.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.1946, allocations: 12 kB / 357.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005644/0.1952, allocations: 285.1 kB / 357.7 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007435/0.196, allocations: 379.4 kB / 358.1 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003808/0.1998, allocations: 6.869 MB / 365 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006105/0.2004, allocations: 92.02 kB / 365.1 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-05/0.2005, allocations: 71.98 kB / 365.1 MB, free: 2.539 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 (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.0005046/0.201, allocations: 275.9 kB / 365.4 MB, free: 2.258 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.2012, allocations: 238.8 kB / 365.6 MB, free: 2.023 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.203, allocations: 1.378 MB / 367 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.203, allocations: 16 kB / 367 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.203, allocations: 4 kB / 367 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.203, allocations: 11.97 kB / 367 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004086/0.2071, allocations: 3.628 MB / 370.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2071, allocations: 192 / 370.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.2075, allocations: 187.7 kB / 370.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008454/0.2083, allocations: 440.1 kB / 371.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-05/0.2084, allocations: 43.97 kB / 371.3 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00578/0.2142, allocations: 11.73 MB / 383 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2142, allocations: 4.031 kB / 383.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.2164, allocations: 1.819 MB / 384.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.2168, allocations: 326.6 kB / 385.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.2169, allocations: 36 kB / 385.2 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/0.2173, allocations: 63.89 kB / 385.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.2174, allocations: 109.1 kB / 385.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/0.2175, allocations: 39.98 kB / 385.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008052/0.2183, allocations: 0.8499 MB / 386.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2183, allocations: 3.938 kB / 386.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001229/0.2195, allocations: 0.582 MB / 386.9 MB, free: 12.03 MB / 346.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.0009176/0.2205, allocations: 456.8 kB / 387.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.2222, allocations: 1.598 MB / 388.9 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2222, allocations: 0 / 388.9 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.2234, allocations: 1.576 MB / 390.5 MB, free: 8.418 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.2245, allocations: 472.7 kB / 391 MB, free: 7.961 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006362/0.2308, allocations: 5.084 MB / 396 MB, free: 2.812 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/0.2315, allocations: 0.8121 MB / 396.8 MB, free: 1.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000673/0.2321, allocations: 327.5 kB / 397.2 MB, free: 1.656 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.2324, allocations: 132.5 kB / 397.3 MB, free: 1.527 MB / 346.7 MB Notification: Performance of SimCode: time 1.532e-06/0.2324, allocations: 0 / 397.3 MB, free: 1.527 MB / 346.7 MB Notification: Performance of Templates: time 0.0346/0.267, allocations: 29.44 MB / 426.7 MB, free: 4.488 MB / 378.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.432051629759371]