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.0009428/0.0009428, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009522/0.0009522, allocations: 164.9 kB / 24.91 MB, free: 8.766 MB / 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 1.045/1.045, allocations: 177 MB / 205.2 MB, free: 5.02 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.183e-06/1.183e-06, allocations: 0 / 273.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.618e-05, allocations: 5.406 kB / 273.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01103/0.01105, allocations: 13.55 MB / 287 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1127/0.1238, allocations: 5.264 MB / 292.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002276/0.126, allocations: 105.2 kB / 292.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002767/0.1288, allocations: 1.149 MB / 293.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004111/0.1329, allocations: 1.457 MB / 295 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.1351, allocations: 0.9934 MB / 296 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004639/0.1398, allocations: 4.335 MB / 300.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002208/0.142, allocations: 1.801 MB / 302.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004265/0.1462, allocations: 3.005 MB / 305.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002973/0.1492, allocations: 2.001 MB / 307.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009945/0.1502, allocations: 0.5037 MB / 307.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.1517, allocations: 0.763 MB / 308.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000545/0.1522, allocations: 1.177 MB / 309.5 MB, free: 9.711 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001589/0.1538, allocations: 1.454 MB / 311 MB, free: 8.918 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00315/0.1569, allocations: 3.541 MB / 314.5 MB, free: 6.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1569, allocations: 0 / 314.5 MB, free: 6.227 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1569, allocations: 0 / 314.5 MB, free: 6.227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001115/0.1571, allocations: 0 / 314.5 MB, free: 6.227 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.00546/0.1625, allocations: 4.39 MB / 318.9 MB, free: 2.016 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1626, allocations: 11.98 kB / 318.9 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/0.1651, allocations: 1.108 MB / 320 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.1671, allocations: 1.523 MB / 321.6 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.1673, allocations: 244.4 kB / 321.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/0.1676, allocations: 318.8 kB / 322.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/0.1701, allocations: 2.436 MB / 324.6 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.013e-05/0.1701, allocations: 11.94 kB / 324.6 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.1703, allocations: 134.4 kB / 324.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.1704, allocations: 154.4 kB / 324.8 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.1718, allocations: 0.9529 MB / 325.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009186/0.181, allocations: 8.235 MB / 334 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.1831, allocations: 1.755 MB / 335.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.1841, allocations: 0.8509 MB / 336.6 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002883/0.187, allocations: 2.025 MB / 338.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005304/0.1875, allocations: 0.6435 MB / 339.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 2.305e-06/0.1875, allocations: 0 / 339.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=140): time 0.004727/0.1923, allocations: 3.161 MB / 342.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/0.1923, allocations: 226.9 kB / 342.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009724/0.1933, allocations: 1.339 MB / 344 MB, free: 9.645 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.541e-05/0.1934, allocations: 53.7 kB / 344.1 MB, free: 9.586 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006114/0.194, allocations: 1.288 MB / 345.4 MB, free: 8.355 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.1942, allocations: 0.4967 MB / 345.9 MB, free: 7.891 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/0.1945, allocations: 309.3 kB / 346.2 MB, free: 7.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.911e-05/0.1945, allocations: 301.1 kB / 346.5 MB, free: 7.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.1948, allocations: 194.7 kB / 346.7 MB, free: 7.129 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.1953, allocations: 0.8838 MB / 347.5 MB, free: 6.012 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000816/0.1961, allocations: 1.041 MB / 348.6 MB, free: 4.805 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.1961, allocations: 8 kB / 348.6 MB, free: 4.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001342/0.1975, allocations: 1.156 MB / 349.7 MB, free: 3.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1975, allocations: 15.94 kB / 349.8 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.1975, allocations: 16 kB / 349.8 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004911/0.198, allocations: 257.1 kB / 350 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008046/0.1988, allocations: 412 kB / 350.4 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/0.2018, allocations: 4.903 MB / 355.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/0.2024, allocations: 76.08 kB / 355.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.96e-05/0.2024, allocations: 59.98 kB / 355.5 MB, free: 13.65 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.0004394/0.2029, allocations: 220.2 kB / 355.7 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.203, allocations: 167.7 kB / 355.8 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.2043, allocations: 1.058 MB / 356.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.2043, allocations: 19.94 kB / 356.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.2043, allocations: 4 kB / 356.9 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.2043, allocations: 7.969 kB / 356.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.2069, allocations: 2.287 MB / 359.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2069, allocations: 0 / 359.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/0.2073, allocations: 175.7 kB / 359.4 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007008/0.208, allocations: 397.6 kB / 359.8 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.67e-05/0.2081, allocations: 35.98 kB / 359.8 MB, free: 9.438 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004535/0.2126, allocations: 8.417 MB / 368.2 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2126, allocations: 8.031 kB / 368.2 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.2143, allocations: 1.368 MB / 369.6 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/0.2147, allocations: 210.5 kB / 369.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.2148, allocations: 35.98 kB / 369.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.2152, allocations: 47.92 kB / 369.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.2154, allocations: 109.1 kB / 370 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/0.2154, allocations: 27.98 kB / 370 MB, free: 14.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005449/0.216, allocations: 0.607 MB / 370.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.216, allocations: 0 / 370.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001545/0.2175, allocations: 0.5898 MB / 371.2 MB, free: 13.71 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 (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.001229/0.2188, allocations: 0.5664 MB / 371.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.2202, allocations: 1.24 MB / 373 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.167e-05/0.2202, allocations: 21.81 kB / 373.1 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.2212, allocations: 1.191 MB / 374.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.2223, allocations: 472.8 kB / 374.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007174/0.2295, allocations: 4.879 MB / 379.6 MB, free: 5.488 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006876/0.2302, allocations: 0.6599 MB / 380.2 MB, free: 4.809 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009118/0.2311, allocations: 255.7 kB / 380.5 MB, free: 4.555 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007836/0.2319, allocations: 461.8 kB / 380.9 MB, free: 4.098 MB / 330.7 MB Notification: Performance of SimCode: time 2.815e-06/0.2319, allocations: 0 / 380.9 MB, free: 4.098 MB / 330.7 MB Notification: Performance of Templates: time 0.04197/0.2739, allocations: 30.31 MB / 411.3 MB, free: 6.207 MB / 362.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 -s gbode -gbm=radauIIA3 -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.656028064899147]