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.001554/0.001554, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001626/0.001626, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9629/0.9629, allocations: 173.3 MB / 201.1 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.493e-06/1.493e-06, allocations: 0 / 268 MB, free: 6.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.719e-05, allocations: 2.312 kB / 268 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01225/0.01227, allocations: 13.35 MB / 281.4 MB, free: 8.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008117/0.02039, allocations: 4.747 MB / 286.1 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002396/0.02279, allocations: 99.38 kB / 286.2 MB, free: 4.121 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002802/0.02559, allocations: 1.099 MB / 287.3 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004194/0.02978, allocations: 1.464 MB / 288.8 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.03202, allocations: 0.9688 MB / 289.7 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1305/0.1625, allocations: 4.24 MB / 294 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002765/0.1653, allocations: 1.748 MB / 295.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004715/0.17, allocations: 2.881 MB / 298.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003277/0.1732, allocations: 2.02 MB / 300.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001279/0.1745, allocations: 0.5086 MB / 301.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.1762, allocations: 0.737 MB / 301.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007175/0.1769, allocations: 1.197 MB / 303.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002141/0.179, allocations: 1.463 MB / 304.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003822/0.1828, allocations: 3.523 MB / 308.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1828, allocations: 3.188 kB / 308.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1828, allocations: 0.625 kB / 308.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000149/0.183, allocations: 0 / 308.1 MB, free: 11.44 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.007495/0.1905, allocations: 4.732 MB / 312.8 MB, free: 8.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1905, allocations: 15.55 kB / 312.8 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002745/0.1933, allocations: 1.258 MB / 314.1 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.1961, allocations: 2.325 MB / 316.4 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.1962, allocations: 241.2 kB / 316.6 MB, free: 5.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002958/0.1965, allocations: 323.2 kB / 317 MB, free: 5.598 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003372/0.1998, allocations: 2.579 MB / 319.5 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.281e-05/0.1999, allocations: 11.66 kB / 319.5 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001907/0.2001, allocations: 128 kB / 319.7 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.941e-05/0.2002, allocations: 154.4 kB / 319.8 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.2024, allocations: 1.22 MB / 321 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.2147, allocations: 10.55 MB / 331.6 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/0.2175, allocations: 2.002 MB / 333.6 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009997/0.2185, allocations: 0.7226 MB / 334.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003721/0.2222, allocations: 2.478 MB / 336.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000746/0.2229, allocations: 0.7006 MB / 337.5 MB, free: 1.078 MB / 282.7 MB Notification: Performance of pre-optimization done (n=132): time 3.176e-06/0.2229, allocations: 4 kB / 337.5 MB, free: 1.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=140): time 0.006543/0.2295, allocations: 4.007 MB / 341.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.2296, allocations: 222.9 kB / 341.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.2314, allocations: 1.459 MB / 343.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.945e-05/0.2315, allocations: 49.7 kB / 343.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.2325, allocations: 1.593 MB / 344.8 MB, free: 9.629 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.2328, allocations: 0.5224 MB / 345.3 MB, free: 9.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003428/0.2332, allocations: 325.1 kB / 345.7 MB, free: 8.793 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2333, allocations: 480.8 kB / 346.1 MB, free: 8.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/0.2337, allocations: 243.8 kB / 346.4 MB, free: 8.082 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008686/0.2346, allocations: 1.156 MB / 347.5 MB, free: 6.582 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.2359, allocations: 1.308 MB / 348.8 MB, free: 5.059 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.2359, allocations: 8 kB / 348.8 MB, free: 5.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002334/0.2383, allocations: 1.523 MB / 350.4 MB, free: 3.605 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.2383, allocations: 12.62 kB / 350.4 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/0.2383, allocations: 15.94 kB / 350.4 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006112/0.2389, allocations: 256 kB / 350.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008082/0.2397, allocations: 380.5 kB / 351 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004182/0.2439, allocations: 6.663 MB / 357.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009502/0.2449, allocations: 91.91 kB / 357.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.103e-05/0.245, allocations: 71.98 kB / 357.8 MB, free: 11.82 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.0008115/0.2458, allocations: 273.7 kB / 358.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.246, allocations: 230.8 kB / 358.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/0.2479, allocations: 1.327 MB / 359.7 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.2479, allocations: 19.98 kB / 359.7 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.248, allocations: 8 kB / 359.7 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.248, allocations: 7.969 kB / 359.7 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004855/0.2528, allocations: 3.573 MB / 363.3 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2528, allocations: 0 / 363.3 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/0.2533, allocations: 186.3 kB / 363.4 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/0.2545, allocations: 431 kB / 363.9 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.883e-05/0.2546, allocations: 39.97 kB / 363.9 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006509/0.2611, allocations: 11.51 MB / 375.4 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2611, allocations: 0 / 375.4 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/0.2636, allocations: 1.761 MB / 377.2 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/0.2641, allocations: 326.6 kB / 377.5 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.2643, allocations: 32 kB / 377.5 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.2647, allocations: 59.95 kB / 377.6 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.2649, allocations: 112.7 kB / 377.7 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/0.265, allocations: 43.98 kB / 377.7 MB, free: 7.312 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001287/0.2663, allocations: 0.8367 MB / 378.6 MB, free: 6.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2663, allocations: 8 kB / 378.6 MB, free: 6.473 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001645/0.2679, allocations: 0.5742 MB / 379.2 MB, free: 5.898 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.0009738/0.2689, allocations: 454.3 kB / 379.6 MB, free: 5.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001916/0.2708, allocations: 1.565 MB / 381.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2708, allocations: 0 / 381.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.2721, allocations: 1.537 MB / 382.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.2733, allocations: 456.9 kB / 383.1 MB, free: 1.992 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007341/0.2806, allocations: 5.065 MB / 388.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/0.2813, allocations: 0.8037 MB / 389 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007996/0.2821, allocations: 335.2 kB / 389.3 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.2823, allocations: 124.5 kB / 389.5 MB, free: 11.6 MB / 346.7 MB Notification: Performance of SimCode: time 1.402e-06/0.2823, allocations: 0 / 389.5 MB, free: 11.6 MB / 346.7 MB Notification: Performance of Templates: time 0.03749/0.3198, allocations: 27.56 MB / 417 MB, free: 0.5234 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.613076363224536]