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.0009847/0.0009847, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001494/0.001494, allocations: 143.2 kB / 24.97 MB, free: 9.344 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.9415/0.9415, allocations: 173.4 MB / 201.5 MB, free: 9.328 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.713e-06/1.713e-06, allocations: 0 / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.035e-05, allocations: 6.25 kB / 268.1 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01669/0.01672, allocations: 13.28 MB / 281.4 MB, free: 9.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.02701, allocations: 4.731 MB / 286.1 MB, free: 4.598 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002448/0.02946, allocations: 99.38 kB / 286.2 MB, free: 4.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003032/0.03249, allocations: 1.099 MB / 287.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004052/0.03654, allocations: 1.452 MB / 288.8 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.03869, allocations: 0.9879 MB / 289.8 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1173/0.1559, allocations: 4.232 MB / 294 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002495/0.1584, allocations: 1.746 MB / 295.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003594/0.162, allocations: 2.881 MB / 298.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/0.1649, allocations: 2.023 MB / 300.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.166, allocations: 0.5065 MB / 301.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.1674, allocations: 0.7353 MB / 301.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007971/0.1682, allocations: 1.198 MB / 303.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.1702, allocations: 1.46 MB / 304.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004046/0.1742, allocations: 3.532 MB / 308.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1742, allocations: 0 / 308.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1743, allocations: 0 / 308.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001425/0.1744, allocations: 0 / 308.1 MB, free: 11.69 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.007263/0.1817, allocations: 4.731 MB / 312.8 MB, free: 9.086 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1817, allocations: 11.52 kB / 312.8 MB, free: 9.086 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003855/0.1856, allocations: 1.254 MB / 314.1 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003824/0.1894, allocations: 2.331 MB / 316.4 MB, free: 6.574 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.36e-05/0.1895, allocations: 240.7 kB / 316.6 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/0.1898, allocations: 327.6 kB / 316.9 MB, free: 6.023 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/0.193, allocations: 2.579 MB / 319.5 MB, free: 3.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-05/0.1931, allocations: 3.469 kB / 319.5 MB, free: 3.359 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/0.1933, allocations: 128 kB / 319.7 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.775e-05/0.1934, allocations: 150.4 kB / 319.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.1957, allocations: 1.228 MB / 321 MB, free: 1.852 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/0.2069, allocations: 10.54 MB / 331.6 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.2096, allocations: 2.014 MB / 333.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.2106, allocations: 0.7121 MB / 334.3 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003394/0.214, allocations: 2.483 MB / 336.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007418/0.2148, allocations: 0.6969 MB / 337.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=132): time 2.715e-06/0.2148, allocations: 0 / 337.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=140): time 0.006781/0.2216, allocations: 4.016 MB / 341.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.913e-05/0.2217, allocations: 218.9 kB / 341.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.2233, allocations: 1.459 MB / 343.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.603e-05/0.2233, allocations: 49.7 kB / 343.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.2244, allocations: 1.597 MB / 344.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/0.2247, allocations: 0.5082 MB / 345.3 MB, free: 9.547 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003403/0.2251, allocations: 337.1 kB / 345.6 MB, free: 9.211 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.2251, allocations: 476.8 kB / 346.1 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004583/0.2256, allocations: 243.8 kB / 346.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008408/0.2264, allocations: 1.156 MB / 347.5 MB, free: 7.004 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.2278, allocations: 1.31 MB / 348.8 MB, free: 5.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.2278, allocations: 4 kB / 348.8 MB, free: 5.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002075/0.2298, allocations: 1.522 MB / 350.3 MB, free: 4.035 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.2299, allocations: 15.98 kB / 350.4 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.2299, allocations: 19.94 kB / 350.4 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005608/0.2305, allocations: 249.6 kB / 350.6 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/0.2312, allocations: 383.6 kB / 351 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003629/0.2349, allocations: 6.661 MB / 357.7 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007991/0.2357, allocations: 92 kB / 357.7 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.801e-05/0.2358, allocations: 75.98 kB / 357.8 MB, free: 12.24 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 (196): * Single equations (assignments): 192 * 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.000665/0.2364, allocations: 263.5 kB / 358.1 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.2367, allocations: 238.8 kB / 358.3 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.2386, allocations: 1.325 MB / 359.6 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.2386, allocations: 12 kB / 359.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.2386, allocations: 8 kB / 359.7 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.2386, allocations: 7.969 kB / 359.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004547/0.2431, allocations: 3.581 MB / 363.2 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.2431, allocations: 0 / 363.2 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.2436, allocations: 186.2 kB / 363.4 MB, free: 6.617 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008579/0.2445, allocations: 420.1 kB / 363.8 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.123e-05/0.2445, allocations: 47.91 kB / 363.9 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006202/0.2507, allocations: 11.51 MB / 375.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2507, allocations: 4 kB / 375.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.2532, allocations: 1.753 MB / 377.1 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005133/0.2538, allocations: 330.6 kB / 377.5 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.2539, allocations: 35.94 kB / 377.5 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.2544, allocations: 64.98 kB / 377.6 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/0.2546, allocations: 114.9 kB / 377.7 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.642e-05/0.2546, allocations: 39.98 kB / 377.7 MB, free: 7.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001215/0.2559, allocations: 0.8328 MB / 378.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2559, allocations: 0 / 378.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001661/0.2575, allocations: 0.5781 MB / 379.1 MB, free: 6.324 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.001066/0.2586, allocations: 452.9 kB / 379.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002038/0.2606, allocations: 1.566 MB / 381.1 MB, free: 4.477 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.2606, allocations: 4 kB / 381.1 MB, free: 4.473 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.262, allocations: 1.544 MB / 382.7 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.2632, allocations: 456.4 kB / 383.1 MB, free: 2.422 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007706/0.271, allocations: 5.07 MB / 388.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006931/0.2716, allocations: 0.8037 MB / 389 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009558/0.2726, allocations: 327.2 kB / 389.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.2729, allocations: 124.5 kB / 389.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of SimCode: time 2.004e-06/0.2729, allocations: 0 / 389.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of Templates: time 0.03676/0.3096, allocations: 27.56 MB / 417 MB, free: 0.9414 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.48479480901733]