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.0009663/0.0009663, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009113/0.0009113, allocations: 168.7 kB / 24.91 MB, free: 9.191 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.9386/0.9386, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.152e-06/1.152e-06, allocations: 0 / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.528e-06/1.068e-05, allocations: 6.312 kB / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01057/0.01058, allocations: 13.54 MB / 287.1 MB, free: 3.637 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1195/0.1301, allocations: 5.265 MB / 292.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002353/0.1324, allocations: 101 kB / 292.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.1351, allocations: 1.153 MB / 293.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004159/0.1393, allocations: 1.464 MB / 295 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.1416, allocations: 0.9829 MB / 296 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004733/0.1463, allocations: 4.317 MB / 300.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/0.1488, allocations: 1.807 MB / 302.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005227/0.154, allocations: 2.995 MB / 305.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003859/0.1579, allocations: 2.007 MB / 307.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001484/0.1594, allocations: 0.5023 MB / 307.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.1619, allocations: 0.7606 MB / 308.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.1629, allocations: 1.177 MB / 309.6 MB, free: 9.844 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002479/0.1654, allocations: 1.463 MB / 311 MB, free: 9.043 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004286/0.1696, allocations: 3.53 MB / 314.6 MB, free: 6.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1696, allocations: 3.281 kB / 314.6 MB, free: 6.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1696, allocations: 0 / 314.6 MB, free: 6.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001154/0.1698, allocations: 4 kB / 314.6 MB, free: 6.387 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.006871/0.1766, allocations: 4.369 MB / 319 MB, free: 2.191 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1767, allocations: 12.03 kB / 319 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003779/0.1805, allocations: 1.111 MB / 320.1 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002866/0.1833, allocations: 1.526 MB / 321.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.1835, allocations: 245.8 kB / 321.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004353/0.1839, allocations: 318.7 kB / 322.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00388/0.1878, allocations: 2.426 MB / 324.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.997e-05/0.1879, allocations: 7.453 kB / 324.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/0.1881, allocations: 130.8 kB / 324.7 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001413/0.1883, allocations: 150.4 kB / 324.9 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.1904, allocations: 0.9508 MB / 325.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01273/0.2031, allocations: 8.237 MB / 334 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003027/0.2061, allocations: 1.758 MB / 335.8 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.2075, allocations: 0.8521 MB / 336.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003886/0.2114, allocations: 2.031 MB / 338.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000695/0.2121, allocations: 0.6432 MB / 339.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 2.484e-06/0.2121, allocations: 0 / 339.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=140): time 0.004937/0.217, allocations: 3.159 MB / 342.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003242/0.2173, allocations: 230.9 kB / 342.7 MB, free: 11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.2184, allocations: 1.329 MB / 344 MB, free: 9.883 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/0.2185, allocations: 53.7 kB / 344.1 MB, free: 9.824 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007006/0.2192, allocations: 1.286 MB / 345.4 MB, free: 8.598 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.2194, allocations: 0.4905 MB / 345.9 MB, free: 8.137 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002837/0.2197, allocations: 309.6 kB / 346.2 MB, free: 7.863 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.2198, allocations: 302.5 kB / 346.5 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.22, allocations: 194.7 kB / 346.7 MB, free: 7.375 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.2205, allocations: 0.8822 MB / 347.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008687/0.2214, allocations: 1.043 MB / 348.6 MB, free: 5.047 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.2214, allocations: 4 kB / 348.6 MB, free: 5.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001649/0.2231, allocations: 1.167 MB / 349.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.2231, allocations: 12.28 kB / 349.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.2231, allocations: 16 kB / 349.8 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005162/0.2236, allocations: 257.1 kB / 350 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008416/0.2245, allocations: 420.2 kB / 350.4 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/0.2275, allocations: 4.907 MB / 355.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000698/0.2282, allocations: 79.94 kB / 355.4 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.91e-05/0.2283, allocations: 59.98 kB / 355.5 MB, free: 13.88 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.000576/0.2289, allocations: 226.5 kB / 355.7 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.229, allocations: 155.8 kB / 355.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.2307, allocations: 1.058 MB / 356.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.2307, allocations: 16 kB / 356.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.2307, allocations: 15.94 kB / 357 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.2307, allocations: 7.969 kB / 357 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/0.2337, allocations: 2.264 MB / 359.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.2337, allocations: 96 / 359.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.2341, allocations: 187.8 kB / 359.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007592/0.2349, allocations: 395.4 kB / 359.8 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/0.235, allocations: 31.98 kB / 359.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00523/0.2402, allocations: 8.411 MB / 368.2 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2402, allocations: 4 kB / 368.2 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.2419, allocations: 1.373 MB / 369.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/0.2423, allocations: 202.7 kB / 369.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.2424, allocations: 35.94 kB / 369.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.2428, allocations: 55.97 kB / 369.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/0.243, allocations: 113 kB / 370 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.243, allocations: 31.98 kB / 370 MB, free: 15.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005276/0.2436, allocations: 0.6017 MB / 370.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2436, allocations: 0 / 370.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001406/0.245, allocations: 0.5859 MB / 371.2 MB, free: 13.96 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.001258/0.2462, allocations: 0.5764 MB / 371.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.2477, allocations: 1.244 MB / 373.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.238e-05/0.2478, allocations: 21.81 kB / 373.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.2488, allocations: 1.185 MB / 374.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.2498, allocations: 471.2 kB / 374.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006459/0.2563, allocations: 4.864 MB / 379.6 MB, free: 5.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/0.2569, allocations: 0.6676 MB / 380.3 MB, free: 5.082 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007002/0.2576, allocations: 259.6 kB / 380.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007295/0.2583, allocations: 462.2 kB / 381 MB, free: 4.367 MB / 330.7 MB Notification: Performance of SimCode: time 1.273e-06/0.2583, allocations: 0 / 381 MB, free: 4.367 MB / 330.7 MB Notification: Performance of Templates: time 0.0407/0.299, allocations: 30.31 MB / 411.3 MB, free: 6.527 MB / 362.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 -s gbode -gbm=radauIIA3 -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: 5.9313450790941715]