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.0009722/0.0009722, allocations: 95.5 kB / 21.2 MB, free: 3.375 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.0009887/0.0009887, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.9245/0.9245, allocations: 177 MB / 204.8 MB, free: 5.555 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 1.052e-06/1.052e-06, allocations: 0 / 272.9 MB, free: 1.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.462e-05, allocations: 2.312 kB / 272.9 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01084/0.01086, allocations: 13.99 MB / 286.9 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1108/0.1216, allocations: 5.111 MB / 292 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.1238, allocations: 104.1 kB / 292.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002231/0.126, allocations: 1.119 MB / 293.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.129, allocations: 1.473 MB / 294.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.1309, allocations: 0.9996 MB / 295.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004824/0.1358, allocations: 4.327 MB / 300 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/0.1382, allocations: 1.753 MB / 301.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003547/0.1417, allocations: 2.901 MB / 304.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002546/0.1443, allocations: 2.029 MB / 306.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009767/0.1453, allocations: 0.5086 MB / 307.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.1465, allocations: 0.7586 MB / 308 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005698/0.147, allocations: 1.195 MB / 309.2 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.1484, allocations: 1.467 MB / 310.7 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.1515, allocations: 3.562 MB / 314.2 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.1515, allocations: 0 / 314.2 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1515, allocations: 0 / 314.2 MB, free: 6.633 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001143/0.1516, allocations: 8 kB / 314.2 MB, free: 6.625 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.005539/0.1571, allocations: 4.773 MB / 319 MB, free: 1.812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1572, allocations: 15.98 kB / 319 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/0.1595, allocations: 1.246 MB / 320.3 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/0.1622, allocations: 2.349 MB / 322.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.1623, allocations: 250.1 kB / 322.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/0.1627, allocations: 331.4 kB / 323.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003398/0.1661, allocations: 2.582 MB / 325.8 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.001e-05/0.1661, allocations: 3.953 kB / 325.8 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/0.1663, allocations: 132 kB / 325.9 MB, free: 10.9 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/0.1664, allocations: 154.4 kB / 326 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.1687, allocations: 1.235 MB / 327.3 MB, free: 9.512 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.1795, allocations: 10.57 MB / 337.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002702/0.1822, allocations: 2.054 MB / 339.9 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.1836, allocations: 0.9836 MB / 340.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003176/0.1867, allocations: 2.665 MB / 343.6 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007056/0.1874, allocations: 0.7125 MB / 344.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 2.795e-06/0.1874, allocations: 0 / 344.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=140): time 0.006507/0.194, allocations: 4.138 MB / 348.4 MB, free: 4.367 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.194, allocations: 226.9 kB / 348.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.1955, allocations: 1.493 MB / 350.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.769e-05/0.1955, allocations: 53.7 kB / 350.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009469/0.1965, allocations: 1.617 MB / 351.8 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.1968, allocations: 0.5083 MB / 352.3 MB, free: 404 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/0.1971, allocations: 337.1 kB / 352.6 MB, free: 60 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1972, allocations: 476.8 kB / 353.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.1976, allocations: 247.8 kB / 353.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007968/0.1984, allocations: 1.165 MB / 354.5 MB, free: 13.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.1997, allocations: 1.323 MB / 355.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.1997, allocations: 4 kB / 355.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.001905/0.2016, allocations: 1.573 MB / 357.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2016, allocations: 15.12 kB / 357.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.2016, allocations: 16.28 kB / 357.4 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/0.2022, allocations: 293.3 kB / 357.7 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007323/0.2029, allocations: 371.4 kB / 358.1 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00374/0.2067, allocations: 6.876 MB / 365 MB, free: 2.707 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005701/0.2072, allocations: 91.91 kB / 365 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.473e-05/0.2073, allocations: 72.06 kB / 365.1 MB, free: 2.547 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.0004689/0.2078, allocations: 275.9 kB / 365.4 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.208, allocations: 234.8 kB / 365.6 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.2099, allocations: 1.382 MB / 367 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.2099, allocations: 16 kB / 367 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.2099, allocations: 4 kB / 367 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.2099, allocations: 7.969 kB / 367 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00422/0.2141, allocations: 3.66 MB / 370.7 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.2141, allocations: 192 / 370.7 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.2145, allocations: 183.7 kB / 370.9 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008824/0.2154, allocations: 446.2 kB / 371.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.2155, allocations: 39.97 kB / 371.3 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00607/0.2216, allocations: 11.73 MB / 383.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2216, allocations: 0 / 383.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.2238, allocations: 1.823 MB / 384.9 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005935/0.2244, allocations: 330.6 kB / 385.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.2246, allocations: 39.98 kB / 385.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.225, allocations: 63.89 kB / 385.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.2251, allocations: 117 kB / 385.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/0.2252, allocations: 35.98 kB / 385.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000853/0.226, allocations: 0.8536 MB / 386.3 MB, free: 12.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.226, allocations: 0 / 386.3 MB, free: 12.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001396/0.2274, allocations: 0.5859 MB / 386.9 MB, free: 11.99 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.0009594/0.2284, allocations: 460.4 kB / 387.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.2301, allocations: 1.592 MB / 388.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2301, allocations: 4 kB / 388.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.2314, allocations: 1.569 MB / 390.5 MB, free: 8.387 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.2325, allocations: 468.2 kB / 391 MB, free: 7.934 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005694/0.2382, allocations: 5.101 MB / 396.1 MB, free: 2.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.2387, allocations: 0.8199 MB / 396.9 MB, free: 1.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006212/0.2394, allocations: 327.5 kB / 397.2 MB, free: 1.605 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.2396, allocations: 132.5 kB / 397.3 MB, free: 1.477 MB / 346.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2396, allocations: 4 kB / 397.3 MB, free: 1.473 MB / 346.7 MB Notification: Performance of Templates: time 0.03319/0.2728, allocations: 28.35 MB / 425.7 MB, free: 5.52 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.70075336843729]