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.001836/0.001836, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002305/0.002305, allocations: 217.5 kB / 24.5 MB, free: 4.133 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.505/1.505, allocations: 230.5 MB / 258.1 MB, free: 8.012 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.0019/0.0019, allocations: 55.91 kB / 379.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2433, allocations: 53.41 MB / 432.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01852/0.2618, allocations: 14.19 MB / 446.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.273, allocations: 5.249 MB / 451.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/0.2757, allocations: 103.4 kB / 452 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003775/0.2795, allocations: 1.158 MB / 453.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004781/0.2842, allocations: 1.441 MB / 454.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003/0.2872, allocations: 1.032 MB / 455.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006612/0.2938, allocations: 4.125 MB / 459.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003866/0.2977, allocations: 1.821 MB / 461.6 MB, free: 9.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003811/0.3015, allocations: 1.975 MB / 463.6 MB, free: 7.465 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004335/0.3059, allocations: 2.339 MB / 465.9 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001333/0.3072, allocations: 0.5078 MB / 466.4 MB, free: 4.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.3095, allocations: 0.7731 MB / 467.2 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001689/0.3112, allocations: 1.149 MB / 468.3 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003426/0.3146, allocations: 2.155 MB / 470.5 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009163/0.3238, allocations: 6.867 MB / 477.3 MB, free: 9.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3238, allocations: 3.938 kB / 477.4 MB, free: 9.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.3238, allocations: 3.984 kB / 477.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001674/0.324, allocations: 0 / 477.4 MB, free: 9.621 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.01256/0.3365, allocations: 4.539 MB / 481.9 MB, free: 5.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3366, allocations: 8.031 kB / 481.9 MB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004745/0.3413, allocations: 0.8339 MB / 482.7 MB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005493/0.3468, allocations: 2.436 MB / 485.2 MB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002491/0.3471, allocations: 246.4 kB / 485.4 MB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007258/0.3478, allocations: 319.9 kB / 485.7 MB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008479/0.3563, allocations: 4.292 MB / 490 MB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-05/0.3564, allocations: 7.953 kB / 490 MB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003376/0.3567, allocations: 132 kB / 490.2 MB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/0.3569, allocations: 150.4 kB / 490.3 MB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007373/0.3642, allocations: 3.64 MB / 493.9 MB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02307/0.3873, allocations: 13.05 MB / 0.4951 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005563/0.3929, allocations: 2.714 MB / 0.4978 GB, free: 8.902 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003087/0.396, allocations: 1.515 MB / 0.4992 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007557/0.4035, allocations: 3.839 MB / 0.503 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001461/0.405, allocations: 0.8728 MB / 0.5038 GB, free: 2.605 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 2.564e-06/0.405, allocations: 0 / 0.5038 GB, free: 2.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01349/0.4185, allocations: 6.146 MB / 0.5098 GB, free: 12.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.4186, allocations: 222.9 kB / 0.5101 GB, free: 12.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003187/0.4218, allocations: 1.928 MB / 0.5119 GB, free: 10.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.422, allocations: 53.64 kB / 0.512 GB, free: 10.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001576/0.4236, allocations: 1.537 MB / 0.5135 GB, free: 8.555 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005654/0.4242, allocations: 0.4997 MB / 0.514 GB, free: 8.051 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005169/0.4247, allocations: 311.5 kB / 0.5143 GB, free: 7.742 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4248, allocations: 301.1 kB / 0.5146 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.426, allocations: 0.6793 MB / 0.5152 GB, free: 6.766 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.4277, allocations: 1.229 MB / 0.5164 GB, free: 5.312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002985/0.4307, allocations: 1.959 MB / 0.5183 GB, free: 3.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.4307, allocations: 4 kB / 0.5183 GB, free: 3.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004562/0.4353, allocations: 2.452 MB / 0.5207 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.4353, allocations: 14.34 kB / 0.5208 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.4353, allocations: 12 kB / 0.5208 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000937/0.4363, allocations: 343.3 kB / 0.5211 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.4377, allocations: 367.4 kB / 0.5214 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007409/0.4452, allocations: 6.492 MB / 0.5278 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.4469, allocations: 87.97 kB / 0.5279 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/0.4471, allocations: 80.17 kB / 0.5279 GB, free: 8.949 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.002078/0.4492, allocations: 1.036 MB / 0.529 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004495/0.4496, allocations: 218.5 kB / 0.5292 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004413/0.4541, allocations: 2.17 MB / 0.5313 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.4541, allocations: 16 kB / 0.5313 GB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/0.4541, allocations: 20.11 kB / 0.5313 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.4541, allocations: 7.984 kB / 0.5313 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009543/0.4637, allocations: 5.038 MB / 0.5362 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.4637, allocations: 0 / 0.5362 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008386/0.4645, allocations: 179.7 kB / 0.5364 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2075/0.672, allocations: 0.4931 MB / 0.5369 GB, free: 98.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002124/0.6722, allocations: 40.33 kB / 0.5369 GB, free: 98.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009165/0.6813, allocations: 11.05 MB / 0.5477 GB, free: 90.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6813, allocations: 7.969 kB / 0.5477 GB, free: 90.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004707/0.6861, allocations: 3.086 MB / 0.5507 GB, free: 88.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009317/0.687, allocations: 372.9 kB / 0.5511 GB, free: 88.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.6872, allocations: 34.84 kB / 0.5511 GB, free: 88.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000829/0.6881, allocations: 57.66 kB / 0.5512 GB, free: 88.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/0.6883, allocations: 111.9 kB / 0.5513 GB, free: 88.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.322e-05/0.6884, allocations: 39.44 kB / 0.5513 GB, free: 88.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001537/0.6899, allocations: 1.336 MB / 0.5526 GB, free: 88.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6899, allocations: 3.844 kB / 0.5526 GB, free: 88.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001803/0.6917, allocations: 0.5918 MB / 0.5532 GB, free: 88.12 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.001593/0.6933, allocations: 478.8 kB / 0.5537 GB, free: 87.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002827/0.6961, allocations: 2.076 MB / 0.5557 GB, free: 86.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.6962, allocations: 0 / 0.5557 GB, free: 86.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.6981, allocations: 1.554 MB / 0.5572 GB, free: 85.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.7002, allocations: 0.5509 MB / 0.5578 GB, free: 85.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008062/0.7082, allocations: 5.9 MB / 0.5635 GB, free: 82.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/0.7097, allocations: 2.307 MB / 0.5658 GB, free: 80.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005609/0.7103, allocations: 153.7 kB / 0.5659 GB, free: 80.38 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7103, allocations: 0 / 0.5659 GB, free: 80.38 MB / 446.1 MB Notification: Performance of Templates: time 0.1017/0.8119, allocations: 115.7 MB / 0.6789 GB, free: 13.03 MB / 494.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/jenkins1/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/jenkins1/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: 18.3096826961264]