Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9206/0.9206, allocations: 177.1 MB / 205 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 273 MB, free: 1.496 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.783e-05, allocations: 2.312 kB / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01698/0.01701, allocations: 13.97 MB / 287 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1276/0.1446, allocations: 5.104 MB / 292.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00211/0.1467, allocations: 103.3 kB / 292.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.1492, allocations: 1.122 MB / 293.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003178/0.1524, allocations: 1.47 MB / 294.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.1542, allocations: 0.9938 MB / 295.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003865/0.158, allocations: 4.317 MB / 300.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.1604, allocations: 1.756 MB / 301.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003419/0.1638, allocations: 2.902 MB / 304.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002248/0.166, allocations: 2.027 MB / 306.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005707/0.1666, allocations: 0.512 MB / 307.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.1677, allocations: 0.7498 MB / 308 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006726/0.1684, allocations: 1.201 MB / 309.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.1696, allocations: 1.462 MB / 310.7 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002932/0.1726, allocations: 3.565 MB / 314.3 MB, free: 6.762 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1726, allocations: 0 / 314.3 MB, free: 6.762 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1726, allocations: 0 / 314.3 MB, free: 6.762 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.469e-05/0.1726, allocations: 0 / 314.3 MB, free: 6.762 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.006602/0.1792, allocations: 4.764 MB / 319 MB, free: 1.953 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1792, allocations: 15.12 kB / 319 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/0.1826, allocations: 1.252 MB / 320.3 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003127/0.1858, allocations: 2.338 MB / 322.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.1859, allocations: 249.3 kB / 322.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004155/0.1863, allocations: 320 kB / 323.2 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004453/0.1908, allocations: 2.583 MB / 325.8 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.013e-05/0.1909, allocations: 7.953 kB / 325.8 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.1911, allocations: 135 kB / 325.9 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001403/0.1912, allocations: 155.5 kB / 326.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/0.1944, allocations: 1.232 MB / 327.3 MB, free: 9.668 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01404/0.2084, allocations: 10.58 MB / 337.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/0.2116, allocations: 2.051 MB / 339.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.213, allocations: 0.9916 MB / 340.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003418/0.2164, allocations: 2.668 MB / 343.6 MB, free: 9.543 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007194/0.2171, allocations: 0.7152 MB / 344.3 MB, free: 8.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 2.876e-06/0.2171, allocations: 0 / 344.3 MB, free: 8.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=140): time 0.00642/0.2235, allocations: 4.13 MB / 348.4 MB, free: 4.555 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.2236, allocations: 230.9 kB / 348.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.2251, allocations: 1.485 MB / 350.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/0.2252, allocations: 45.7 kB / 350.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009178/0.2261, allocations: 1.616 MB / 351.8 MB, free: 1.094 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.2264, allocations: 0.5083 MB / 352.3 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003327/0.2267, allocations: 333.1 kB / 352.6 MB, free: 264 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2268, allocations: 476.8 kB / 353.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004334/0.2272, allocations: 247.8 kB / 353.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000874/0.2281, allocations: 1.165 MB / 354.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.2294, allocations: 1.327 MB / 355.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.2294, allocations: 4 kB / 355.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002043/0.2315, allocations: 1.577 MB / 357.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.2315, allocations: 12 kB / 357.4 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.2315, allocations: 16 kB / 357.4 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005788/0.2321, allocations: 282.8 kB / 357.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/0.2328, allocations: 379.4 kB / 358.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003665/0.2365, allocations: 6.866 MB / 364.9 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006329/0.2371, allocations: 92.19 kB / 365 MB, free: 2.816 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-05/0.2372, allocations: 75.98 kB / 365.1 MB, free: 2.742 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (193): * Single equations (assignments): 189 * 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.0005381/0.2378, allocations: 282.3 kB / 365.4 MB, free: 2.457 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.238, allocations: 234.8 kB / 365.6 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/0.2398, allocations: 1.378 MB / 367 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.2398, allocations: 16 kB / 367 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.2398, allocations: 4 kB / 367 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.2398, allocations: 11.97 kB / 367 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004331/0.2442, allocations: 3.66 MB / 370.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.2442, allocations: 0 / 370.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.2446, allocations: 187.8 kB / 370.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008358/0.2454, allocations: 444.2 kB / 371.3 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/0.2455, allocations: 39.98 kB / 371.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005918/0.2514, allocations: 11.73 MB / 383.1 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2514, allocations: 4 kB / 383.1 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.2537, allocations: 1.809 MB / 384.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/0.2542, allocations: 334.6 kB / 385.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.2543, allocations: 35.94 kB / 385.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.2547, allocations: 59.95 kB / 385.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.2549, allocations: 113 kB / 385.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.87e-05/0.2549, allocations: 39.98 kB / 385.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009539/0.2559, allocations: 0.8495 MB / 386.3 MB, free: 12.78 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2559, allocations: 8 kB / 386.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00158/0.2575, allocations: 0.582 MB / 386.9 MB, free: 12.19 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.0009663/0.2584, allocations: 460.9 kB / 387.3 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001866/0.2603, allocations: 1.599 MB / 388.9 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2603, allocations: 0 / 388.9 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.2616, allocations: 1.567 MB / 390.5 MB, free: 8.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.2628, allocations: 492.3 kB / 391 MB, free: 8.121 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006689/0.2695, allocations: 5.075 MB / 396.1 MB, free: 2.977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/0.2701, allocations: 0.8082 MB / 396.9 MB, free: 2.148 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007246/0.2708, allocations: 335.5 kB / 397.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.2711, allocations: 136.4 kB / 397.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of SimCode: time 1.573e-06/0.2711, allocations: 0 / 397.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of Templates: time 0.03456/0.3057, allocations: 28.35 MB / 425.7 MB, free: 5.766 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 6.738760473206639]