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.0009263/0.0009263, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009298/0.0009298, allocations: 165.2 kB / 24.99 MB, free: 8.219 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 0.9051/0.9051, allocations: 177 MB / 205.2 MB, free: 5.574 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 2.305e-06/2.305e-06, allocations: 4 kB / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.689e-05, allocations: 5.125 kB / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01096/0.01098, allocations: 13.91 MB / 286.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1075/0.1185, allocations: 5.102 MB / 292 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.1202, allocations: 104.5 kB / 292.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001958/0.1222, allocations: 1.112 MB / 293.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.1245, allocations: 1.479 MB / 294.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.1259, allocations: 0.9918 MB / 295.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003035/0.1289, allocations: 4.32 MB / 300 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.1305, allocations: 1.753 MB / 301.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/0.1327, allocations: 2.902 MB / 304.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/0.1343, allocations: 2.029 MB / 306.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000376/0.1346, allocations: 0.5052 MB / 307.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007745/0.1354, allocations: 0.7591 MB / 308 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005192/0.1359, allocations: 1.198 MB / 309.2 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008509/0.1368, allocations: 1.472 MB / 310.7 MB, free: 8.812 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002137/0.1389, allocations: 3.561 MB / 314.2 MB, free: 6.602 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1389, allocations: 4 kB / 314.2 MB, free: 6.598 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1389, allocations: 0 / 314.2 MB, free: 6.598 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.918e-05/0.139, allocations: 0 / 314.2 MB, free: 6.598 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.004804/0.1438, allocations: 4.773 MB / 319 MB, free: 1.781 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.1438, allocations: 11.98 kB / 319 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/0.1464, allocations: 1.247 MB / 320.3 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.1487, allocations: 2.359 MB / 322.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.1488, allocations: 242.4 kB / 322.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/0.1491, allocations: 327.3 kB / 323.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/0.1523, allocations: 2.587 MB / 325.8 MB, free: 11.01 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.079e-05/0.1524, allocations: 7.953 kB / 325.8 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/0.1526, allocations: 129.5 kB / 325.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.1527, allocations: 150.4 kB / 326 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/0.1551, allocations: 1.232 MB / 327.3 MB, free: 9.488 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009805/0.1649, allocations: 10.57 MB / 337.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.1676, allocations: 2.06 MB / 339.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.1691, allocations: 0.9934 MB / 340.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003134/0.1723, allocations: 2.655 MB / 343.5 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007031/0.173, allocations: 0.7119 MB / 344.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 3.356e-06/0.173, allocations: 3.984 kB / 344.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=140): time 0.006275/0.1793, allocations: 4.136 MB / 348.4 MB, free: 4.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.1793, allocations: 222.9 kB / 348.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.1807, allocations: 1.497 MB / 350.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.256e-05/0.1807, allocations: 49.7 kB / 350.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008995/0.1816, allocations: 1.616 MB / 351.8 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003952/0.182, allocations: 0.5162 MB / 352.3 MB, free: 464 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004857/0.1825, allocations: 329.1 kB / 352.6 MB, free: 128 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1826, allocations: 476.8 kB / 353.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006308/0.1832, allocations: 251.1 kB / 353.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.1844, allocations: 1.167 MB / 354.5 MB, free: 13.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/0.1867, allocations: 1.317 MB / 355.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.1867, allocations: 4 kB / 355.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003076/0.1898, allocations: 1.577 MB / 357.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.1898, allocations: 16.28 kB / 357.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/0.1898, allocations: 16 kB / 357.4 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008606/0.1907, allocations: 295.1 kB / 357.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.1919, allocations: 367.4 kB / 358.1 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005296/0.1972, allocations: 6.87 MB / 364.9 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009605/0.1981, allocations: 92 kB / 365 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.1983, allocations: 76 kB / 365.1 MB, free: 2.621 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.0006629/0.1989, allocations: 267.9 kB / 365.4 MB, free: 2.348 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/0.1992, allocations: 242.7 kB / 365.6 MB, free: 2.109 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002785/0.202, allocations: 1.382 MB / 367 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.202, allocations: 16 kB / 367 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.202, allocations: 8 kB / 367 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.2021, allocations: 7.969 kB / 367 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005038/0.2071, allocations: 3.65 MB / 370.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.2071, allocations: 4 kB / 370.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.2075, allocations: 179.8 kB / 370.8 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008765/0.2084, allocations: 443.2 kB / 371.3 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.075e-05/0.2085, allocations: 44.03 kB / 371.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006587/0.2151, allocations: 11.73 MB / 383.1 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2151, allocations: 4.031 kB / 383.1 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.2175, allocations: 1.827 MB / 384.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000458/0.2179, allocations: 330.6 kB / 385.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.2181, allocations: 35.98 kB / 385.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.2185, allocations: 67.89 kB / 385.3 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.2187, allocations: 109.1 kB / 385.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/0.2188, allocations: 39.98 kB / 385.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009014/0.2197, allocations: 0.8536 MB / 386.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2197, allocations: 0 / 386.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001367/0.221, allocations: 0.582 MB / 386.9 MB, free: 12.07 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.0009067/0.2219, allocations: 454.4 kB / 387.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001805/0.2237, allocations: 1.595 MB / 388.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2237, allocations: 0 / 388.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.2252, allocations: 1.574 MB / 390.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.2263, allocations: 476.9 kB / 391 MB, free: 8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006103/0.2324, allocations: 5.091 MB / 396.1 MB, free: 2.844 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/0.2331, allocations: 0.816 MB / 396.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009451/0.234, allocations: 331.5 kB / 397.2 MB, free: 1.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.2342, allocations: 128.5 kB / 397.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2342, allocations: 0 / 397.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of Templates: time 0.03354/0.2678, allocations: 28.36 MB / 425.7 MB, free: 5.594 MB / 378.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 -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.592071929015219]