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.00144/0.00144, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001523/0.001523, allocations: 165 kB / 24.56 MB, free: 20 kB / 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.9423/0.9423, allocations: 177.1 MB / 205 MB, free: 5.621 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 2.224e-06/2.224e-06, allocations: 4 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.442e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01146/0.01148, allocations: 13.97 MB / 287 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1117/0.1232, allocations: 5.107 MB / 292.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002225/0.1254, allocations: 105.8 kB / 292.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002511/0.1279, allocations: 1.123 MB / 293.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003269/0.1312, allocations: 1.47 MB / 294.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.1331, allocations: 0.9905 MB / 295.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004081/0.1372, allocations: 4.322 MB / 300.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002285/0.1395, allocations: 1.753 MB / 301.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004077/0.1436, allocations: 2.997 MB / 304.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002831/0.1464, allocations: 1.99 MB / 306.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009641/0.1474, allocations: 0.5081 MB / 307.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.1487, allocations: 0.7551 MB / 308.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000546/0.1492, allocations: 1.186 MB / 309.3 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.1508, allocations: 1.452 MB / 310.7 MB, free: 8.832 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003085/0.1539, allocations: 3.539 MB / 314.3 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1539, allocations: 0 / 314.3 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1539, allocations: 0 / 314.3 MB, free: 6.633 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001104/0.154, allocations: 0 / 314.3 MB, free: 6.633 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.005376/0.1594, allocations: 4.746 MB / 319 MB, free: 1.844 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1594, allocations: 16.02 kB / 319 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002453/0.1619, allocations: 1.249 MB / 320.3 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.1645, allocations: 2.35 MB / 322.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.1646, allocations: 254 kB / 322.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003167/0.1649, allocations: 319.9 kB / 323.2 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003481/0.1684, allocations: 2.585 MB / 325.8 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.286e-05/0.1685, allocations: 3.953 kB / 325.8 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001895/0.1687, allocations: 134.7 kB / 325.9 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.1688, allocations: 154.4 kB / 326.1 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.1712, allocations: 1.224 MB / 327.3 MB, free: 9.555 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.1823, allocations: 10.54 MB / 337.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002705/0.185, allocations: 2.079 MB / 339.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.1863, allocations: 0.9757 MB / 340.9 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003351/0.1897, allocations: 2.651 MB / 343.5 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006895/0.1904, allocations: 0.7085 MB / 344.2 MB, free: 8.672 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 2.325e-06/0.1904, allocations: 0 / 344.2 MB, free: 8.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=140): time 0.006118/0.1965, allocations: 4.128 MB / 348.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.1966, allocations: 222.9 kB / 348.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.1981, allocations: 1.485 MB / 350.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.027e-05/0.1982, allocations: 53.7 kB / 350.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009103/0.1991, allocations: 1.62 MB / 351.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.1994, allocations: 0.5028 MB / 352.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/0.1997, allocations: 337.1 kB / 352.6 MB, free: 192 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.1998, allocations: 480.7 kB / 353 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.2002, allocations: 251.8 kB / 353.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000767/0.201, allocations: 1.184 MB / 354.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.2022, allocations: 1.341 MB / 355.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.2022, allocations: 4 kB / 355.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.002082/0.2043, allocations: 1.592 MB / 357.4 MB, free: 10.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.2043, allocations: 12 kB / 357.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.2043, allocations: 16 kB / 357.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005817/0.2049, allocations: 289.1 kB / 357.7 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000735/0.2056, allocations: 371.4 kB / 358.1 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003723/0.2094, allocations: 6.878 MB / 365 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006884/0.2101, allocations: 91.91 kB / 365 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-05/0.2101, allocations: 75.98 kB / 365.1 MB, free: 2.578 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.0005831/0.2107, allocations: 274.2 kB / 365.4 MB, free: 2.301 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.2109, allocations: 230.8 kB / 365.6 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/0.2127, allocations: 1.378 MB / 367 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.2127, allocations: 20 kB / 367 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.2128, allocations: 8 kB / 367 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.2128, allocations: 7.969 kB / 367 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004432/0.2172, allocations: 3.636 MB / 370.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2172, allocations: 4.094 kB / 370.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/0.2176, allocations: 179.8 kB / 370.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008562/0.2185, allocations: 450.4 kB / 371.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.476e-05/0.2186, allocations: 39.97 kB / 371.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005938/0.2245, allocations: 11.71 MB / 383 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2245, allocations: 4 kB / 383 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/0.2268, allocations: 1.813 MB / 384.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006409/0.2274, allocations: 326.6 kB / 385.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.2276, allocations: 39.92 kB / 385.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.228, allocations: 56.06 kB / 385.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.2281, allocations: 117 kB / 385.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/0.2282, allocations: 39.98 kB / 385.4 MB, free: 13.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008511/0.229, allocations: 0.8536 MB / 386.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.229, allocations: 0 / 386.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001377/0.2304, allocations: 0.582 MB / 386.8 MB, free: 12.08 MB / 346.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.001004/0.2314, allocations: 462.1 kB / 387.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.2333, allocations: 1.603 MB / 388.9 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2333, allocations: 0 / 388.9 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.2346, allocations: 1.565 MB / 390.5 MB, free: 8.473 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.2359, allocations: 483.8 kB / 390.9 MB, free: 8.012 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007423/0.2434, allocations: 5.084 MB / 396 MB, free: 2.863 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006521/0.244, allocations: 0.8082 MB / 396.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007916/0.2448, allocations: 331.5 kB / 397.2 MB, free: 1.707 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.245, allocations: 132.5 kB / 397.3 MB, free: 1.578 MB / 346.7 MB Notification: Performance of SimCode: time 1.754e-06/0.245, allocations: 0 / 397.3 MB, free: 1.578 MB / 346.7 MB Notification: Performance of Templates: time 0.03783/0.2829, allocations: 29.43 MB / 426.7 MB, free: 4.586 MB / 378.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 -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: 6.414255595300347]