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.000822/0.000822, allocations: 83.69 kB / 21.44 MB, free: 3.117 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.004061/0.004061, allocations: 156.5 kB / 24.7 MB, free: 9.434 MB / 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.835/0.835, allocations: 177.2 MB / 205 MB, free: 5.738 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.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.483e-06/1.483e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.091e-05, allocations: 8.531 kB / 325.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.009615/0.009636, allocations: 12.37 MB / 338.2 MB, free: 3.008 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008173/0.01781, allocations: 4.942 MB / 343.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.01923, allocations: 103.4 kB / 343.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.02112, allocations: 1.11 MB / 344.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.02346, allocations: 1.474 MB / 345.8 MB, free: 11.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.02482, allocations: 0.9855 MB / 346.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003203/0.02802, allocations: 4.328 MB / 351.2 MB, free: 6.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/0.02957, allocations: 1.746 MB / 352.9 MB, free: 4.207 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002468/0.03204, allocations: 2.873 MB / 355.8 MB, free: 1.328 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.03382, allocations: 1.859 MB / 357.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003615/0.03418, allocations: 0.5078 MB / 358.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000861/0.03504, allocations: 0.7573 MB / 358.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005833/0.03563, allocations: 1.168 MB / 360.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009615/0.03659, allocations: 1.446 MB / 361.5 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004539/0.04113, allocations: 6.922 MB / 368.4 MB, free: 4.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.04113, allocations: 4 kB / 368.4 MB, free: 4.633 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.04113, allocations: 0 / 368.4 MB, free: 4.633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5e-05/0.04118, allocations: 0 / 368.4 MB, free: 4.633 MB / 330.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.006094/0.04728, allocations: 4.489 MB / 372.9 MB, free: 84 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.04731, allocations: 12.03 kB / 372.9 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.04938, allocations: 0.8275 MB / 373.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/0.05195, allocations: 2.426 MB / 376.2 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.05207, allocations: 238.4 kB / 376.4 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003066/0.05238, allocations: 323.9 kB / 376.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004945/0.05733, allocations: 4.439 MB / 381.2 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.266e-05/0.05738, allocations: 4 kB / 381.2 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002038/0.05758, allocations: 132 kB / 381.3 MB, free: 7.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.252e-05/0.05767, allocations: 162.3 kB / 381.5 MB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003797/0.06147, allocations: 3.633 MB / 385.1 MB, free: 3.754 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.07345, allocations: 11.38 MB / 396.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/0.07651, allocations: 2.7 MB / 399.2 MB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/0.0783, allocations: 1.523 MB / 400.7 MB, free: 3.969 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003913/0.08221, allocations: 3.459 MB / 404.2 MB, free: 488 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008943/0.08311, allocations: 1.02 MB / 405.2 MB, free: 15.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=132): time 2.655e-06/0.08311, allocations: 4 kB / 405.2 MB, free: 15.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=140): time 0.007697/0.09081, allocations: 6.131 MB / 411.3 MB, free: 9.199 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.09088, allocations: 222.9 kB / 411.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.0924, allocations: 1.722 MB / 413.3 MB, free: 7.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.09246, allocations: 53.64 kB / 413.3 MB, free: 7.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.09348, allocations: 1.548 MB / 414.9 MB, free: 5.582 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/0.09372, allocations: 0.4919 MB / 415.4 MB, free: 5.086 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003037/0.09403, allocations: 307.5 kB / 415.7 MB, free: 4.781 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.486e-05/0.09409, allocations: 305.1 kB / 416 MB, free: 4.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006783/0.09477, allocations: 0.6754 MB / 416.6 MB, free: 3.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000962/0.09573, allocations: 1.404 MB / 418 MB, free: 2.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.09739, allocations: 1.974 MB / 420 MB, free: 15.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/0.0974, allocations: 4 kB / 420 MB, free: 15.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002634/0.1, allocations: 2.425 MB / 422.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.1001, allocations: 12 kB / 422.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.1001, allocations: 12 kB / 422.5 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004916/0.1006, allocations: 339.4 kB / 422.8 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/0.1013, allocations: 379.4 kB / 423.2 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004153/0.1054, allocations: 6.342 MB / 429.5 MB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006788/0.1061, allocations: 92.05 kB / 429.6 MB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.007e-05/0.1062, allocations: 75.98 kB / 429.7 MB, free: 5.949 MB / 394.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.001281/0.1075, allocations: 1.036 MB / 430.7 MB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.1076, allocations: 198.7 kB / 430.9 MB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.11, allocations: 2.165 MB / 433.1 MB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.11, allocations: 12 kB / 433.1 MB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.11, allocations: 8 kB / 433.1 MB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.11, allocations: 15.91 kB / 433.1 MB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004675/0.1147, allocations: 4.334 MB / 437.4 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1147, allocations: 0 / 437.4 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.1151, allocations: 183.8 kB / 437.6 MB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006899/0.1158, allocations: 0.5078 MB / 438.1 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-05/0.1158, allocations: 35.98 kB / 438.2 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006317/0.1221, allocations: 10.81 MB / 449 MB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1221, allocations: 0 / 449 MB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1517/0.2738, allocations: 3.067 MB / 452 MB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008644/0.2747, allocations: 351.4 kB / 452.4 MB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.2749, allocations: 34.12 kB / 452.4 MB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.2753, allocations: 61.47 kB / 452.5 MB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.2756, allocations: 111.4 kB / 452.6 MB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.779e-05/0.2756, allocations: 41.86 kB / 452.6 MB, free: 110.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001309/0.2769, allocations: 1.163 MB / 453.8 MB, free: 110.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2769, allocations: 0 / 453.8 MB, free: 110.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001617/0.2785, allocations: 0.5835 MB / 454.4 MB, free: 110.8 MB / 410.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.0009849/0.2795, allocations: 0.5024 MB / 454.9 MB, free: 110.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001988/0.2815, allocations: 2.076 MB / 456.9 MB, free: 109.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2815, allocations: 1.188 kB / 456.9 MB, free: 109.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.2826, allocations: 1.566 MB / 458.5 MB, free: 109 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009903/0.2836, allocations: 464.4 kB / 459 MB, free: 108.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005002/0.2886, allocations: 5.697 MB / 464.7 MB, free: 106.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009672/0.2896, allocations: 1.752 MB / 466.4 MB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.2898, allocations: 143.6 kB / 466.5 MB, free: 104.7 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2898, allocations: 2.188 kB / 466.6 MB, free: 104.7 MB / 410.7 MB Notification: Performance of Templates: time 0.05334/0.3432, allocations: 115.1 MB / 0.5681 GB, free: 6.789 MB / 426.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.55072548892349]