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.00138/0.00138, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001439/0.001439, allocations: 148.7 kB / 24.8 MB, free: 9.328 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.9902/0.9902, allocations: 173.3 MB / 201.4 MB, free: 9.223 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.523e-06/1.523e-06, allocations: 0 / 268.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.843e-05, allocations: 2.312 kB / 268.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01104/0.01107, allocations: 12.89 MB / 281.3 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007555/0.01862, allocations: 4.704 MB / 286 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.02034, allocations: 107.4 kB / 286.1 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.02259, allocations: 1.103 MB / 287.2 MB, free: 3.281 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002716/0.0253, allocations: 1.456 MB / 288.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.027, allocations: 0.966 MB / 289.7 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1174/0.1444, allocations: 4.234 MB / 293.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002614/0.147, allocations: 1.745 MB / 295.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004325/0.1513, allocations: 2.983 MB / 298.6 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003076/0.1544, allocations: 2.003 MB / 300.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001281/0.1557, allocations: 0.501 MB / 301.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.1572, allocations: 0.7274 MB / 301.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006926/0.1579, allocations: 1.183 MB / 303 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0017/0.1596, allocations: 1.451 MB / 304.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003142/0.1627, allocations: 3.502 MB / 308 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1627, allocations: 0 / 308 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1628, allocations: 4.219 kB / 308 MB, free: 11.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001028/0.1629, allocations: 0 / 308 MB, free: 11.96 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.005161/0.168, allocations: 4.593 MB / 312.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1681, allocations: 7.953 kB / 312.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002404/0.1705, allocations: 1.18 MB / 313.8 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.1726, allocations: 2.243 MB / 316 MB, free: 6.852 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.833e-05/0.1727, allocations: 246.4 kB / 316.3 MB, free: 6.609 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002626/0.173, allocations: 317.3 kB / 316.6 MB, free: 6.305 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.1753, allocations: 2.375 MB / 318.9 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-05/0.1754, allocations: 7.953 kB / 318.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.1755, allocations: 131.9 kB / 319.1 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.759e-05/0.1756, allocations: 150.4 kB / 319.2 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.1769, allocations: 0.945 MB / 320.2 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01081/0.1877, allocations: 10.45 MB / 330.6 MB, free: 8.711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.1901, allocations: 1.86 MB / 332.5 MB, free: 7.027 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008171/0.1909, allocations: 0.6341 MB / 333.1 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003411/0.1943, allocations: 2.403 MB / 335.5 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006044/0.1949, allocations: 0.6627 MB / 336.2 MB, free: 3.375 MB / 282.7 MB Notification: Performance of pre-optimization done (n=132): time 2.685e-06/0.1949, allocations: 0 / 336.2 MB, free: 3.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=140): time 0.005053/0.1999, allocations: 3.321 MB / 339.5 MB, free: 48 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.2, allocations: 226.9 kB / 339.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.2012, allocations: 1.418 MB / 341.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.2013, allocations: 53.7 kB / 341.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.2025, allocations: 1.609 MB / 342.8 MB, free: 12.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.2028, allocations: 0.5184 MB / 343.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.2031, allocations: 341.9 kB / 343.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.109e-05/0.2032, allocations: 480.8 kB / 344.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.2034, allocations: 183.8 kB / 344.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/0.204, allocations: 1.13 MB / 345.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009613/0.205, allocations: 1.237 MB / 346.7 MB, free: 8.637 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.205, allocations: 4 kB / 346.7 MB, free: 8.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001529/0.2065, allocations: 1.396 MB / 348.1 MB, free: 7.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.2066, allocations: 16.28 kB / 348.1 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.2066, allocations: 23.92 kB / 348.1 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004585/0.2071, allocations: 243.4 kB / 348.3 MB, free: 7.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/0.2078, allocations: 371.2 kB / 348.7 MB, free: 6.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003458/0.2112, allocations: 6.537 MB / 355.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007813/0.212, allocations: 84.02 kB / 355.3 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.546e-05/0.2121, allocations: 67.98 kB / 355.4 MB, free: 15.75 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 (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.0006441/0.2127, allocations: 263.5 kB / 355.7 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.2129, allocations: 230.8 kB / 355.9 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.2148, allocations: 1.22 MB / 357.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.2148, allocations: 16 kB / 357.1 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.2148, allocations: 8 kB / 357.1 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.2148, allocations: 7.969 kB / 357.1 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004036/0.2188, allocations: 2.918 MB / 360 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.2188, allocations: 0 / 360 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/0.2193, allocations: 171.3 kB / 360.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008108/0.2201, allocations: 413 kB / 360.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.238e-05/0.2202, allocations: 39.98 kB / 360.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006573/0.2267, allocations: 11.28 MB / 371.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2267, allocations: 0.9375 kB / 371.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.2294, allocations: 1.596 MB / 373.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005963/0.23, allocations: 302.6 kB / 373.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/0.2302, allocations: 43.92 kB / 373.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/0.2307, allocations: 47.98 kB / 373.9 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/0.2309, allocations: 109.1 kB / 374 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.536e-05/0.231, allocations: 35.97 kB / 374.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008653/0.2318, allocations: 0.7614 MB / 374.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2318, allocations: 0 / 374.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001888/0.2337, allocations: 0.5742 MB / 375.4 MB, free: 11.6 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.001077/0.2348, allocations: 461.6 kB / 375.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.2366, allocations: 1.466 MB / 377.3 MB, free: 9.867 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2366, allocations: 0 / 377.3 MB, free: 9.867 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001665/0.2383, allocations: 1.498 MB / 378.8 MB, free: 8.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.2398, allocations: 459.9 kB / 379.3 MB, free: 7.879 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00771/0.2475, allocations: 5.021 MB / 384.3 MB, free: 2.824 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007946/0.2483, allocations: 0.8115 MB / 385.1 MB, free: 1.992 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008213/0.2491, allocations: 243.5 kB / 385.3 MB, free: 1.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008986/0.25, allocations: 0.4979 MB / 385.8 MB, free: 1.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.433e-06/0.25, allocations: 0 / 385.8 MB, free: 1.25 MB / 330.7 MB Notification: Performance of Templates: time 0.04456/0.2946, allocations: 29.17 MB / 415 MB, free: 4.625 MB / 362.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 -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.174353276845068]