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.001889/0.001889, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.002199/0.002199, allocations: 213.7 kB / 24.54 MB, free: 4.02 MB / 14.72 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 1.458/1.458, allocations: 230.3 MB / 258 MB, free: 8.215 MB / 206.1 MB " [Timeout remaining time 178] 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=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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 0.002779/0.002779, allocations: 67.88 kB / 378.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2553, allocations: 53.36 MB / 432.1 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01834/0.2737, allocations: 14.2 MB / 446.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.284, allocations: 5.251 MB / 451.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.286, allocations: 103.4 kB / 451.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003288/0.2893, allocations: 1.154 MB / 452.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004572/0.2938, allocations: 1.449 MB / 454.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.2967, allocations: 1.031 MB / 455.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006194/0.3029, allocations: 4.131 MB / 459.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004088/0.307, allocations: 1.813 MB / 461.3 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003662/0.3107, allocations: 1.982 MB / 463.3 MB, free: 7.812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00419/0.3148, allocations: 2.328 MB / 465.6 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001336/0.3162, allocations: 0.5078 MB / 466.1 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.3185, allocations: 0.777 MB / 466.9 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001701/0.3202, allocations: 1.149 MB / 468 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003601/0.3238, allocations: 2.155 MB / 470.2 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009709/0.3335, allocations: 6.868 MB / 477 MB, free: 9.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3335, allocations: 0 / 477 MB, free: 9.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3335, allocations: 0 / 477 MB, free: 9.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001744/0.3337, allocations: 0 / 477 MB, free: 9.984 MB / 382.1 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.01341/0.3471, allocations: 4.536 MB / 481.6 MB, free: 5.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3471, allocations: 19.97 kB / 481.6 MB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004702/0.3518, allocations: 0.8261 MB / 482.4 MB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005028/0.3569, allocations: 2.44 MB / 484.9 MB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.3571, allocations: 238.4 kB / 485.1 MB, free: 1.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005396/0.3576, allocations: 323.9 kB / 485.4 MB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008174/0.3658, allocations: 4.3 MB / 489.7 MB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.696e-05/0.3659, allocations: 7.953 kB / 489.7 MB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003315/0.3662, allocations: 124 kB / 489.8 MB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001758/0.3664, allocations: 154.4 kB / 490 MB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007086/0.3734, allocations: 3.636 MB / 493.6 MB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02359/0.397, allocations: 13.04 MB / 0.4948 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005948/0.403, allocations: 2.726 MB / 0.4975 GB, free: 9.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003207/0.4062, allocations: 1.523 MB / 0.4989 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007468/0.4137, allocations: 3.831 MB / 0.5027 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001541/0.4152, allocations: 0.8767 MB / 0.5035 GB, free: 2.957 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 2.885e-06/0.4152, allocations: 0 / 0.5035 GB, free: 2.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01425/0.4295, allocations: 6.138 MB / 0.5095 GB, free: 12.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/0.4296, allocations: 226.9 kB / 0.5097 GB, free: 12.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003242/0.4329, allocations: 1.928 MB / 0.5116 GB, free: 10.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.433, allocations: 57.64 kB / 0.5117 GB, free: 10.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.4346, allocations: 1.533 MB / 0.5132 GB, free: 8.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006057/0.4352, allocations: 0.4997 MB / 0.5137 GB, free: 8.406 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005456/0.4357, allocations: 311.5 kB / 0.514 GB, free: 8.098 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4359, allocations: 305.1 kB / 0.5143 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.4372, allocations: 0.6754 MB / 0.5149 GB, free: 7.121 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/0.4392, allocations: 1.232 MB / 0.5161 GB, free: 5.664 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003142/0.4423, allocations: 1.959 MB / 0.518 GB, free: 3.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.4423, allocations: 7.938 kB / 0.518 GB, free: 3.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004814/0.4472, allocations: 2.444 MB / 0.5204 GB, free: 1.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.4472, allocations: 15.98 kB / 0.5204 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/0.4472, allocations: 16 kB / 0.5205 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009686/0.4482, allocations: 331.4 kB / 0.5208 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.4497, allocations: 375.4 kB / 0.5211 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007612/0.4573, allocations: 6.481 MB / 0.5275 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.459, allocations: 96.16 kB / 0.5276 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.4592, allocations: 79.92 kB / 0.5276 GB, free: 9.301 MB / 446.1 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.002079/0.4612, allocations: 1.04 MB / 0.5286 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004616/0.4617, allocations: 214.6 kB / 0.5289 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00458/0.4663, allocations: 2.178 MB / 0.531 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.4663, allocations: 16 kB / 0.531 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/0.4663, allocations: 11.94 kB / 0.531 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.4663, allocations: 3.984 kB / 0.531 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009786/0.4761, allocations: 5.038 MB / 0.5359 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.4761, allocations: 4 kB / 0.5359 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008471/0.477, allocations: 176 kB / 0.5361 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1907/0.6677, allocations: 0.5011 MB / 0.5366 GB, free: 98.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002989/0.668, allocations: 38.8 kB / 0.5366 GB, free: 98.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009836/0.6778, allocations: 11.04 MB / 0.5474 GB, free: 90.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6778, allocations: 3.938 kB / 0.5474 GB, free: 90.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004728/0.6826, allocations: 3.086 MB / 0.5504 GB, free: 89.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009907/0.6835, allocations: 376.9 kB / 0.5508 GB, free: 89.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003329/0.6839, allocations: 31.52 kB / 0.5508 GB, free: 89.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008891/0.6848, allocations: 63.3 kB / 0.5509 GB, free: 89.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/0.685, allocations: 115.8 kB / 0.551 GB, free: 89.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.789e-05/0.6851, allocations: 38.8 kB / 0.551 GB, free: 89.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001639/0.6867, allocations: 1.331 MB / 0.5523 GB, free: 88.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6867, allocations: 0 / 0.5523 GB, free: 88.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002014/0.6888, allocations: 0.5914 MB / 0.5529 GB, free: 88.54 MB / 446.1 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 (99): * Single equations (assignments): 92 * 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.001675/0.6904, allocations: 485.8 kB / 0.5534 GB, free: 88.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003087/0.6935, allocations: 2.081 MB / 0.5554 GB, free: 87.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6935, allocations: 2.188 kB / 0.5554 GB, free: 87.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002072/0.6956, allocations: 1.543 MB / 0.5569 GB, free: 86.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.6978, allocations: 0.5611 MB / 0.5575 GB, free: 86.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007636/0.7055, allocations: 5.907 MB / 0.5632 GB, free: 82.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/0.7069, allocations: 2.355 MB / 0.5655 GB, free: 81.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001141/0.708, allocations: 411.5 kB / 0.5659 GB, free: 80.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.7084, allocations: 138 kB / 0.566 GB, free: 80.64 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.7084, allocations: 0 / 0.566 GB, free: 80.64 MB / 446.1 MB Notification: Performance of Templates: time 0.04671/0.7551, allocations: 32.71 MB / 0.598 GB, free: 48.57 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 9.562806759029627]