Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009331/0.0009331, allocations: 85.08 kB / 22.99 MB, free: 1.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009419/0.0009419, allocations: 176.7 kB / 26.4 MB, free: 7.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8369/0.8369, allocations: 158.6 MB / 188.3 MB, free: 2.82 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 3.938 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065e-05/1.189e-05, allocations: 6.25 kB / 252.3 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.009794/0.009806, allocations: 12.84 MB / 265.1 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006215/0.01602, allocations: 4.654 MB / 269.8 MB, free: 5.656 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.01722, allocations: 91.38 kB / 269.9 MB, free: 5.566 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.01905, allocations: 1.099 MB / 271 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.02143, allocations: 1.394 MB / 272.4 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.02272, allocations: 0.9701 MB / 273.3 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002983/0.0257, allocations: 4.251 MB / 277.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.0275, allocations: 1.718 MB / 279.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/0.03003, allocations: 2.979 MB / 282.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.03162, allocations: 2.007 MB / 284.3 MB, free: 7.027 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003668/0.03199, allocations: 0.5 MB / 284.8 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007745/0.03276, allocations: 0.73 MB / 285.5 MB, free: 5.797 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007575/0.03352, allocations: 1.18 MB / 286.7 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009397/0.03446, allocations: 1.45 MB / 288.1 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.03691, allocations: 3.493 MB / 291.6 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.03692, allocations: 3.984 kB / 291.6 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.03692, allocations: 0 / 291.6 MB, free: 15.65 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.248e-05/0.03694, allocations: 0 / 291.6 MB, free: 15.65 MB / 282.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.005184/0.04213, allocations: 4.588 MB / 296.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.04216, allocations: 15.98 kB / 296.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002352/0.04451, allocations: 1.181 MB / 297.4 MB, free: 9.793 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.04645, allocations: 2.068 MB / 299.5 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.04657, allocations: 238.4 kB / 299.7 MB, free: 7.441 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002983/0.04687, allocations: 323.9 kB / 300 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/0.04949, allocations: 2.369 MB / 302.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.99e-05/0.04954, allocations: 7.984 kB / 302.4 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/0.04973, allocations: 135.9 kB / 302.5 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.04983, allocations: 154.4 kB / 302.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.05122, allocations: 0.9339 MB / 303.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009752/0.06097, allocations: 10.46 MB / 314.1 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/0.06333, allocations: 1.849 MB / 315.9 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007164/0.06404, allocations: 0.643 MB / 316.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002714/0.06676, allocations: 2.397 MB / 319 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005593/0.06732, allocations: 0.6655 MB / 319.6 MB, free: 3.098 MB / 298.7 MB Notification: Performance of pre-optimization done (n=131): time 2.445e-06/0.06732, allocations: 0 / 319.6 MB, free: 3.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=139): time 0.004719/0.07204, allocations: 3.298 MB / 322.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.07211, allocations: 222.9 kB / 323.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.07317, allocations: 1.427 MB / 324.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.014e-05/0.07323, allocations: 53.69 kB / 324.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007866/0.07402, allocations: 1.617 MB / 326.3 MB, free: 12.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.07428, allocations: 0.5074 MB / 326.8 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003261/0.07461, allocations: 344.9 kB / 327.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.0747, allocations: 484.7 kB / 327.6 MB, free: 11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.07495, allocations: 183.8 kB / 327.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.07558, allocations: 1.136 MB / 328.9 MB, free: 9.316 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.07664, allocations: 1.242 MB / 330.1 MB, free: 7.785 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.07664, allocations: 8 kB / 330.1 MB, free: 7.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001467/0.07811, allocations: 1.393 MB / 331.5 MB, free: 6.359 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.07813, allocations: 12 kB / 331.5 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.07814, allocations: 16 kB / 331.6 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004261/0.07857, allocations: 250.8 kB / 331.8 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007182/0.07929, allocations: 379.4 kB / 332.2 MB, free: 5.699 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/0.08267, allocations: 6.524 MB / 338.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.08318, allocations: 75.94 kB / 338.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.517e-05/0.08326, allocations: 63.98 kB / 338.8 MB, free: 14.7 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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.0004078/0.08366, allocations: 276.1 kB / 339.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.08386, allocations: 234.8 kB / 339.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.08531, allocations: 1.217 MB / 340.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.08532, allocations: 20 kB / 340.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.08532, allocations: 4 kB / 340.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.08533, allocations: 3.984 kB / 340.6 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003675/0.089, allocations: 3.471 MB / 344.1 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.08901, allocations: 4 kB / 344.1 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.0894, allocations: 167.8 kB / 344.2 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006987/0.0901, allocations: 395.9 kB / 344.6 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/0.09016, allocations: 47.91 kB / 344.7 MB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1109/0.201, allocations: 11.27 MB / 355.9 MB, free: 76.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.201, allocations: 0.875 kB / 355.9 MB, free: 76.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.2032, allocations: 1.615 MB / 357.5 MB, free: 75.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/0.2036, allocations: 301.4 kB / 357.8 MB, free: 75.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.2038, allocations: 39.11 kB / 357.9 MB, free: 75.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.2042, allocations: 51.42 kB / 357.9 MB, free: 75.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.2043, allocations: 113.5 kB / 358 MB, free: 75.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.2044, allocations: 30.36 kB / 358.1 MB, free: 75.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005678/0.205, allocations: 0.768 MB / 358.8 MB, free: 75.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.205, allocations: 3.312 kB / 358.8 MB, free: 75.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001326/0.2063, allocations: 0.5778 MB / 359.4 MB, free: 75.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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,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.0007951/0.2071, allocations: 447.7 kB / 359.9 MB, free: 75.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.2083, allocations: 1.463 MB / 361.3 MB, free: 74.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2083, allocations: 0 / 361.3 MB, free: 74.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008438/0.2091, allocations: 1.482 MB / 362.8 MB, free: 73.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009687/0.2101, allocations: 471.6 kB / 363.3 MB, free: 73.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005168/0.2152, allocations: 5.027 MB / 368.3 MB, free: 71.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.2157, allocations: 0.8051 MB / 369.1 MB, free: 71.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005256/0.2163, allocations: 255.7 kB / 369.3 MB, free: 71.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006579/0.2169, allocations: 0.4973 MB / 369.8 MB, free: 71.47 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2169, allocations: 0 / 369.8 MB, free: 71.47 MB / 330.7 MB Notification: Performance of Templates: time 0.0305/0.2474, allocations: 29.69 MB / 399.5 MB, free: 47 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Conveyor/AIMC_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.07069183466956]