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.0008956/0.0008956, allocations: 85.17 kB / 21.5 MB, free: 2.988 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.0008683/0.0008683, allocations: 141.1 kB / 24.89 MB, free: 8.777 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.9008/0.9008, allocations: 173.4 MB / 201.6 MB, free: 8.211 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.342e-06/1.342e-06, allocations: 0 / 268.5 MB, free: 9.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.526e-05, allocations: 5.125 kB / 268.5 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01063/0.01064, allocations: 12.96 MB / 281.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006833/0.01748, allocations: 4.908 MB / 286.4 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008899/0.01837, allocations: 99.38 kB / 286.5 MB, free: 7.695 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.02006, allocations: 1.13 MB / 287.6 MB, free: 6.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.02207, allocations: 1.448 MB / 289.1 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.02329, allocations: 0.9719 MB / 290.1 MB, free: 4.129 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00293/0.02622, allocations: 4.244 MB / 294.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.02788, allocations: 1.801 MB / 296.1 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.03044, allocations: 2.979 MB / 299.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.03214, allocations: 1.992 MB / 301.1 MB, free: 8.984 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004094/0.03255, allocations: 0.5 MB / 301.6 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008321/0.03338, allocations: 0.7417 MB / 302.3 MB, free: 7.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006422/0.03402, allocations: 1.18 MB / 303.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009587/0.03498, allocations: 1.446 MB / 304.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002634/0.03762, allocations: 3.509 MB / 308.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.03762, allocations: 0 / 308.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.03762, allocations: 0 / 308.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.03764, allocations: 0 / 308.4 MB, free: 1.59 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.004915/0.04256, allocations: 4.337 MB / 312.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.04259, allocations: 8.031 kB / 312.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/0.04501, allocations: 1.117 MB / 313.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.04684, allocations: 1.497 MB / 315.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.04697, allocations: 250.4 kB / 315.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.04728, allocations: 319.9 kB / 316 MB, free: 9.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.04973, allocations: 2.424 MB / 318.4 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.974e-05/0.04978, allocations: 4 kB / 318.4 MB, free: 7.445 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/0.04997, allocations: 132 kB / 318.5 MB, free: 7.316 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.05008, allocations: 158.4 kB / 318.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.05147, allocations: 0.9431 MB / 319.6 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008062/0.05954, allocations: 8.221 MB / 327.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.06157, allocations: 1.718 MB / 329.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006302/0.0622, allocations: 0.5662 MB / 330.1 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002437/0.06464, allocations: 1.866 MB / 332 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005149/0.06515, allocations: 0.6277 MB / 332.6 MB, free: 8.805 MB / 314.7 MB Notification: Performance of pre-optimization done (n=132): time 2.314e-06/0.06515, allocations: 0 / 332.6 MB, free: 8.805 MB / 314.7 MB Notification: Performance of matching and sorting (n=140): time 0.004272/0.06943, allocations: 3.056 MB / 335.7 MB, free: 5.699 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.0695, allocations: 222.9 kB / 335.9 MB, free: 5.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009476/0.07045, allocations: 1.3 MB / 337.2 MB, free: 4.113 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/0.0705, allocations: 53.7 kB / 337.2 MB, free: 4.055 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005604/0.07106, allocations: 1.292 MB / 338.5 MB, free: 2.746 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.0713, allocations: 0.4918 MB / 339 MB, free: 2.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.07157, allocations: 303.3 kB / 339.3 MB, free: 1.949 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.531e-05/0.07165, allocations: 301.1 kB / 339.6 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.0719, allocations: 190.7 kB / 339.8 MB, free: 1.465 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.0724, allocations: 0.8787 MB / 340.7 MB, free: 324 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008295/0.07323, allocations: 1.036 MB / 341.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.07324, allocations: 4 kB / 341.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001283/0.07452, allocations: 1.113 MB / 342.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.07454, allocations: 12 kB / 342.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.07456, allocations: 16.08 kB / 342.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003975/0.07495, allocations: 227.3 kB / 343.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007999/0.07575, allocations: 427.2 kB / 343.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.07888, allocations: 4.715 MB / 348.2 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.07937, allocations: 79.95 kB / 348.3 MB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.459e-05/0.07944, allocations: 63.98 kB / 348.4 MB, free: 8.121 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 (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.0003831/0.07983, allocations: 236 kB / 348.6 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.07998, allocations: 147.8 kB / 348.7 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.08123, allocations: 1.012 MB / 349.7 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.08124, allocations: 20 kB / 349.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.08125, allocations: 4 kB / 349.8 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.08126, allocations: 11.91 kB / 349.8 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/0.08378, allocations: 2.21 MB / 352 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.08378, allocations: 4 kB / 352 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.08421, allocations: 175.8 kB / 352.2 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006476/0.08485, allocations: 364.1 kB / 352.5 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.944e-05/0.08491, allocations: 39.97 kB / 352.6 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1241/0.209, allocations: 8.214 MB / 360.8 MB, free: 66.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.209, allocations: 1.375 kB / 360.8 MB, free: 66.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.211, allocations: 1.323 MB / 362.1 MB, free: 65.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004361/0.2114, allocations: 198.1 kB / 362.3 MB, free: 65.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.2116, allocations: 39.62 kB / 362.3 MB, free: 65.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.2119, allocations: 49.95 kB / 362.4 MB, free: 65.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.2121, allocations: 109.8 kB / 362.5 MB, free: 65.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.148e-05/0.2122, allocations: 31.44 kB / 362.5 MB, free: 65.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005793/0.2128, allocations: 0.5908 MB / 363.1 MB, free: 65.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2128, allocations: 0 / 363.1 MB, free: 65.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00141/0.2142, allocations: 0.5767 MB / 363.7 MB, free: 65.88 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 (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.001125/0.2153, allocations: 0.5684 MB / 364.3 MB, free: 65.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.2164, allocations: 1.214 MB / 365.5 MB, free: 65.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.681e-05/0.2164, allocations: 26.25 kB / 365.5 MB, free: 65.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007676/0.2172, allocations: 1.168 MB / 366.7 MB, free: 64.76 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008794/0.2181, allocations: 452 kB / 367.1 MB, free: 64.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005278/0.2234, allocations: 4.879 MB / 372 MB, free: 62.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/0.2239, allocations: 0.6481 MB / 372.6 MB, free: 62.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005531/0.2245, allocations: 259.4 kB / 372.9 MB, free: 62.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006544/0.2251, allocations: 449 kB / 373.3 MB, free: 62.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2251, allocations: 0 / 373.3 MB, free: 62.43 MB / 330.7 MB Notification: Performance of Templates: time 0.03236/0.2575, allocations: 29.46 MB / 402.8 MB, free: 40 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 -s gbode -gbm=radauIIA3 -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.077088716439903]