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.000926/0.000926, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001008/0.001008, allocations: 166.6 kB / 24.99 MB, free: 8.789 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.902/0.902, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.392e-06/1.392e-06, allocations: 0 / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.137e-05, allocations: 2.312 kB / 273.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01173/0.01175, allocations: 13.89 MB / 287 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.11/0.1217, allocations: 5.097 MB / 292.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002263/0.124, allocations: 103.2 kB / 292.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.1261, allocations: 1.116 MB / 293.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.1287, allocations: 1.474 MB / 294.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.1302, allocations: 0.9862 MB / 295.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003187/0.1334, allocations: 4.32 MB / 300.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.1353, allocations: 1.748 MB / 301.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002683/0.138, allocations: 2.907 MB / 304.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.1399, allocations: 2.022 MB / 306.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006087/0.1405, allocations: 0.5063 MB / 307.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000896/0.1414, allocations: 0.7643 MB / 308 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005419/0.142, allocations: 1.19 MB / 309.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.1432, allocations: 1.474 MB / 310.7 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.1455, allocations: 3.561 MB / 314.2 MB, free: 6.875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1455, allocations: 0 / 314.2 MB, free: 6.875 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1455, allocations: 3.094 kB / 314.2 MB, free: 6.875 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.123e-05/0.1456, allocations: 0 / 314.2 MB, free: 6.875 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.004932/0.1505, allocations: 4.76 MB / 319 MB, free: 2.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1505, allocations: 8.031 kB / 319 MB, free: 2.062 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002804/0.1533, allocations: 1.246 MB / 320.3 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002345/0.1557, allocations: 2.35 MB / 322.6 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.1558, allocations: 248.3 kB / 322.9 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003172/0.1561, allocations: 319.9 kB / 323.2 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/0.1595, allocations: 2.585 MB / 325.7 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.432e-05/0.1596, allocations: 3.953 kB / 325.8 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/0.1598, allocations: 135.5 kB / 325.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.1599, allocations: 150.4 kB / 326 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.1624, allocations: 1.232 MB / 327.3 MB, free: 9.797 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01096/0.1734, allocations: 10.57 MB / 337.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002819/0.1762, allocations: 2.047 MB / 339.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.1775, allocations: 0.9991 MB / 340.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003211/0.1808, allocations: 2.666 MB / 343.5 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007084/0.1815, allocations: 0.7086 MB / 344.3 MB, free: 8.898 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 2.665e-06/0.1815, allocations: 4 kB / 344.3 MB, free: 8.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=140): time 0.006073/0.1875, allocations: 4.126 MB / 348.4 MB, free: 4.742 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/0.1876, allocations: 226.9 kB / 348.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.189, allocations: 1.485 MB / 350.1 MB, free: 2.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.251e-05/0.1891, allocations: 53.64 kB / 350.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008233/0.1899, allocations: 1.621 MB / 351.8 MB, free: 1.273 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.1902, allocations: 0.5043 MB / 352.3 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003276/0.1905, allocations: 333.1 kB / 352.6 MB, free: 456 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1906, allocations: 480.7 kB / 353.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004415/0.1911, allocations: 247.8 kB / 353.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008217/0.1919, allocations: 1.167 MB / 354.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.1932, allocations: 1.32 MB / 355.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.1932, allocations: 4 kB / 355.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.001935/0.1951, allocations: 1.581 MB / 357.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1951, allocations: 15.98 kB / 357.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.1951, allocations: 16 kB / 357.4 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005687/0.1957, allocations: 285.2 kB / 357.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007475/0.1964, allocations: 379.3 kB / 358.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/0.2, allocations: 6.87 MB / 364.9 MB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005641/0.2006, allocations: 99.94 kB / 365 MB, free: 3.012 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.31e-05/0.2007, allocations: 71.98 kB / 365.1 MB, free: 2.941 MB / 314.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.0004434/0.2011, allocations: 268.6 kB / 365.4 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.2013, allocations: 234.8 kB / 365.6 MB, free: 2.438 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.2032, allocations: 1.382 MB / 367 MB, free: 1.016 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2032, allocations: 12 kB / 367 MB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2033, allocations: 8 kB / 367 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.2033, allocations: 11.91 kB / 367 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004359/0.2076, allocations: 3.649 MB / 370.7 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.2076, allocations: 0 / 370.7 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004393/0.2081, allocations: 179.8 kB / 370.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008942/0.209, allocations: 454.4 kB / 371.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.19e-05/0.209, allocations: 35.98 kB / 371.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006225/0.2153, allocations: 11.73 MB / 383 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.2153, allocations: 8.156 kB / 383 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.2176, allocations: 1.821 MB / 384.9 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00043/0.218, allocations: 330.6 kB / 385.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.2182, allocations: 39.94 kB / 385.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.2186, allocations: 63.95 kB / 385.3 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.2188, allocations: 109.1 kB / 385.4 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/0.2189, allocations: 39.98 kB / 385.4 MB, free: 13.83 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008866/0.2198, allocations: 0.8495 MB / 386.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2198, allocations: 0 / 386.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001436/0.2212, allocations: 0.5859 MB / 386.9 MB, free: 12.4 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.001003/0.2222, allocations: 465 kB / 387.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.224, allocations: 1.594 MB / 388.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.224, allocations: 0 / 388.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.2253, allocations: 1.564 MB / 390.5 MB, free: 8.801 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.2264, allocations: 487.3 kB / 391 MB, free: 8.336 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006092/0.2325, allocations: 5.085 MB / 396 MB, free: 3.184 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006295/0.2331, allocations: 0.8082 MB / 396.9 MB, free: 2.355 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000675/0.2338, allocations: 335.5 kB / 397.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.234, allocations: 132.5 kB / 397.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of SimCode: time 1.182e-06/0.234, allocations: 0 / 397.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of Templates: time 0.03368/0.2677, allocations: 28.34 MB / 425.6 MB, free: 5.984 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.43722026492469]