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.0009583/0.0009583, allocations: 80.62 kB / 22.21 MB, free: 2.293 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.0008729/0.0008729, allocations: 139.5 kB / 25.59 MB, free: 8.453 MB / 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.921/0.921, allocations: 173.4 MB / 202.2 MB, free: 8.297 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.863e-06/1.863e-06, allocations: 0 / 269.2 MB, free: 9.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.893e-05, allocations: 5.547 kB / 269.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01871/0.01874, allocations: 12.89 MB / 282.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007431/0.02617, allocations: 4.717 MB / 286.8 MB, free: 8.086 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.02721, allocations: 103.4 kB / 286.9 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.02901, allocations: 1.099 MB / 288 MB, free: 6.879 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.03114, allocations: 1.448 MB / 289.5 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.03239, allocations: 0.9681 MB / 290.4 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002719/0.03511, allocations: 4.244 MB / 294.7 MB, free: 196 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.03676, allocations: 1.754 MB / 296.4 MB, free: 14.37 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.03941, allocations: 2.987 MB / 299.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.04125, allocations: 1.996 MB / 301.4 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005336/0.04178, allocations: 0.5039 MB / 301.9 MB, free: 8.871 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008857/0.04267, allocations: 0.7339 MB / 302.7 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006466/0.04332, allocations: 1.172 MB / 303.8 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.04446, allocations: 1.45 MB / 305.3 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.04726, allocations: 3.505 MB / 308.8 MB, free: 1.992 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.04727, allocations: 0 / 308.8 MB, free: 1.992 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.04727, allocations: 0 / 308.8 MB, free: 1.992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.294e-05/0.04732, allocations: 0 / 308.8 MB, free: 1.992 MB / 282.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.005349/0.05267, allocations: 4.608 MB / 313.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.0527, allocations: 12.03 kB / 313.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002356/0.05506, allocations: 1.162 MB / 314.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.05717, allocations: 2.236 MB / 316.8 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.0573, allocations: 246.3 kB / 317 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002985/0.05759, allocations: 327.9 kB / 317.4 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.06004, allocations: 2.365 MB / 319.7 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.047e-05/0.06009, allocations: 3.984 kB / 319.7 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/0.06029, allocations: 136 kB / 319.9 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-05/0.06038, allocations: 150.4 kB / 320 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.06174, allocations: 0.9416 MB / 321 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009555/0.0713, allocations: 10.46 MB / 331.4 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/0.07355, allocations: 1.867 MB / 333.3 MB, free: 9.074 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007246/0.07427, allocations: 0.6313 MB / 333.9 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002781/0.07705, allocations: 2.39 MB / 336.3 MB, free: 6.027 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005638/0.07762, allocations: 0.6615 MB / 337 MB, free: 5.281 MB / 314.7 MB Notification: Performance of pre-optimization done (n=132): time 2.474e-06/0.07762, allocations: 7.938 kB / 337 MB, free: 5.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=140): time 0.004633/0.08225, allocations: 3.321 MB / 340.3 MB, free: 1.891 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.08232, allocations: 218.9 kB / 340.5 MB, free: 1.625 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.08348, allocations: 1.423 MB / 341.9 MB, free: 184 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/0.08354, allocations: 53.7 kB / 342 MB, free: 124 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1193/0.2028, allocations: 1.609 MB / 343.6 MB, free: 56.6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004135/0.2032, allocations: 0.515 MB / 344.1 MB, free: 56.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/0.2036, allocations: 338 kB / 344.4 MB, free: 56.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.548e-05/0.2036, allocations: 476.8 kB / 344.9 MB, free: 55.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.204, allocations: 187.6 kB / 345.1 MB, free: 55.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005528/0.2045, allocations: 1.13 MB / 346.2 MB, free: 54.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008995/0.2054, allocations: 1.227 MB / 347.4 MB, free: 53.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.2054, allocations: 5.062 kB / 347.4 MB, free: 53.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001769/0.2072, allocations: 1.403 MB / 348.9 MB, free: 53.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.2072, allocations: 11.61 kB / 348.9 MB, free: 53.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.2072, allocations: 22.94 kB / 348.9 MB, free: 53.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005011/0.2077, allocations: 245.9 kB / 349.1 MB, free: 53.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000706/0.2084, allocations: 373.2 kB / 349.5 MB, free: 53.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.2106, allocations: 6.531 MB / 356 MB, free: 48.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/0.2113, allocations: 80.05 kB / 356.1 MB, free: 48.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.07e-05/0.2113, allocations: 65.09 kB / 356.2 MB, free: 48.04 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.0004675/0.2118, allocations: 265.8 kB / 356.4 MB, free: 47.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.212, allocations: 238 kB / 356.7 MB, free: 47.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.2133, allocations: 1.219 MB / 357.9 MB, free: 47.6 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.2134, allocations: 12.91 kB / 357.9 MB, free: 47.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2134, allocations: 9.031 kB / 357.9 MB, free: 47.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.2134, allocations: 7.172 kB / 357.9 MB, free: 47.6 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002949/0.2163, allocations: 2.919 MB / 360.8 MB, free: 47.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2163, allocations: 0 / 360.8 MB, free: 47.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.2167, allocations: 174.3 kB / 361 MB, free: 47.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006759/0.2174, allocations: 405.8 kB / 361.4 MB, free: 47.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/0.2174, allocations: 35.66 kB / 361.4 MB, free: 47.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003698/0.2211, allocations: 11.27 MB / 372.7 MB, free: 37.58 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.2211, allocations: 4.938 kB / 372.7 MB, free: 37.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.2227, allocations: 1.603 MB / 374.3 MB, free: 37.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.223, allocations: 300.1 kB / 374.6 MB, free: 37.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.2231, allocations: 40.36 kB / 374.6 MB, free: 37.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.2235, allocations: 49.42 kB / 374.7 MB, free: 37.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.2237, allocations: 105.2 kB / 374.8 MB, free: 37.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.2237, allocations: 34.88 kB / 374.8 MB, free: 37.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004939/0.2242, allocations: 0.7635 MB / 375.6 MB, free: 36.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2242, allocations: 0 / 375.6 MB, free: 36.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001156/0.2254, allocations: 0.5748 MB / 376.2 MB, free: 36.84 MB / 314.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.0008642/0.2262, allocations: 467.9 kB / 376.6 MB, free: 36.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.2274, allocations: 1.457 MB / 378.1 MB, free: 35.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2274, allocations: 4.125 kB / 378.1 MB, free: 35.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000829/0.2283, allocations: 1.495 MB / 379.6 MB, free: 34.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009659/0.2292, allocations: 463.2 kB / 380 MB, free: 34.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.2337, allocations: 5.026 MB / 385.1 MB, free: 29.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.2342, allocations: 0.8002 MB / 385.9 MB, free: 29.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005099/0.2347, allocations: 248.7 kB / 386.1 MB, free: 28.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006303/0.2354, allocations: 0.497 MB / 386.6 MB, free: 28.49 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2354, allocations: 0 / 386.6 MB, free: 28.49 MB / 314.7 MB Notification: Performance of Templates: time 0.03305/0.2684, allocations: 29.67 MB / 416.3 MB, free: 15.61 MB / 330.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.155013390816748]