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.001795/0.001795, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001576/0.001576, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.457/1.457, allocations: 230.5 MB / 257.4 MB, free: 7.82 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.002035/0.002035, allocations: 63.89 kB / 378.2 MB, free: 2.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2329, allocations: 53.41 MB / 431.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01665/0.2495, allocations: 12.32 MB / 444 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009939/0.2595, allocations: 4.953 MB / 448.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.2615, allocations: 99.38 kB / 449 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002917/0.2645, allocations: 1.103 MB / 450.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004011/0.2685, allocations: 1.429 MB / 451.6 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.2708, allocations: 0.9852 MB / 452.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005016/0.2758, allocations: 4.123 MB / 456.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002513/0.2783, allocations: 1.735 MB / 458.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002728/0.281, allocations: 1.99 MB / 460.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003371/0.2844, allocations: 2.195 MB / 462.6 MB, free: 7.453 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007574/0.2852, allocations: 0.5039 MB / 463.1 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.2867, allocations: 0.7575 MB / 463.9 MB, free: 6.191 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.2878, allocations: 1.153 MB / 465 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001983/0.2898, allocations: 1.688 MB / 466.7 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00765/0.2975, allocations: 6.887 MB / 473.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2975, allocations: 0 / 473.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2975, allocations: 0 / 473.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001121/0.2976, allocations: 4 kB / 473.6 MB, free: 12.43 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.01145/0.309, allocations: 4.536 MB / 478.1 MB, free: 7.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.3091, allocations: 11.98 kB / 478.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/0.3135, allocations: 0.8339 MB / 479 MB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005187/0.3187, allocations: 2.42 MB / 481.4 MB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.319, allocations: 238.4 kB / 481.6 MB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005655/0.3195, allocations: 320 kB / 481.9 MB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007701/0.3272, allocations: 4.45 MB / 486.4 MB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.251e-05/0.3273, allocations: 7.953 kB / 486.4 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003074/0.3276, allocations: 128 kB / 486.5 MB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/0.3278, allocations: 154.4 kB / 486.7 MB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006505/0.3343, allocations: 3.629 MB / 490.3 MB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02015/0.3544, allocations: 11.39 MB / 0.4899 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005588/0.36, allocations: 2.703 MB / 0.4926 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003056/0.3631, allocations: 1.511 MB / 0.494 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006969/0.37, allocations: 3.451 MB / 0.4974 GB, free: 8.227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001517/0.3716, allocations: 1.023 MB / 0.4984 GB, free: 7.129 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.186e-06/0.3716, allocations: 0 / 0.4984 GB, free: 7.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01328/0.3848, allocations: 6.135 MB / 0.5044 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.385, allocations: 226.9 kB / 0.5046 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/0.3875, allocations: 1.722 MB / 0.5063 GB, free: 14.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.747e-05/0.3876, allocations: 53.7 kB / 0.5064 GB, free: 14.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001456/0.3891, allocations: 1.544 MB / 0.5079 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004373/0.3895, allocations: 0.4958 MB / 0.5083 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004904/0.39, allocations: 315.4 kB / 0.5086 GB, free: 12.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3901, allocations: 305.1 kB / 0.5089 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.3913, allocations: 0.6754 MB / 0.5096 GB, free: 11.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/0.3932, allocations: 1.404 MB / 0.511 GB, free: 9.863 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00307/0.3963, allocations: 1.974 MB / 0.5129 GB, free: 7.688 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.3963, allocations: 4 kB / 0.5129 GB, free: 7.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004481/0.4008, allocations: 2.421 MB / 0.5153 GB, free: 5.242 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.4008, allocations: 12 kB / 0.5153 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.4008, allocations: 16 kB / 0.5153 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008937/0.4017, allocations: 343.4 kB / 0.5156 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.4032, allocations: 375.4 kB / 0.516 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007043/0.4102, allocations: 6.341 MB / 0.5222 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.4116, allocations: 99.98 kB / 0.5223 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/0.4118, allocations: 72 kB / 0.5223 GB, free: 13.69 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.001896/0.4137, allocations: 1.034 MB / 0.5233 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004321/0.4142, allocations: 190.8 kB / 0.5235 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00441/0.4186, allocations: 2.176 MB / 0.5257 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.4186, allocations: 16 kB / 0.5257 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.817e-05/0.4186, allocations: 4 kB / 0.5257 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.4186, allocations: 11.91 kB / 0.5257 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008932/0.4276, allocations: 4.342 MB / 0.5299 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.4276, allocations: 3.984 kB / 0.5299 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008217/0.4284, allocations: 183.7 kB / 0.5301 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.4298, allocations: 0.4999 MB / 0.5306 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.4299, allocations: 39.98 kB / 0.5306 GB, free: 5.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2065/0.6364, allocations: 10.8 MB / 0.5412 GB, free: 95.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.6364, allocations: 4.375 kB / 0.5412 GB, free: 95.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00482/0.6413, allocations: 3.077 MB / 0.5442 GB, free: 94.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009116/0.6422, allocations: 350.7 kB / 0.5445 GB, free: 94.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.6424, allocations: 35.36 kB / 0.5446 GB, free: 94.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008443/0.6432, allocations: 60.33 kB / 0.5446 GB, free: 94.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/0.6435, allocations: 118.5 kB / 0.5447 GB, free: 94.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-05/0.6436, allocations: 39.53 kB / 0.5448 GB, free: 94.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001445/0.645, allocations: 1.164 MB / 0.5459 GB, free: 93.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.645, allocations: 0 / 0.5459 GB, free: 93.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001747/0.6468, allocations: 0.586 MB / 0.5465 GB, free: 93.84 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 (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.001724/0.6485, allocations: 0.5011 MB / 0.547 GB, free: 93.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002831/0.6513, allocations: 2.079 MB / 0.549 GB, free: 92.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6513, allocations: 0 / 0.549 GB, free: 92.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.6532, allocations: 1.56 MB / 0.5505 GB, free: 91.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.655, allocations: 455.6 kB / 0.5509 GB, free: 91.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007778/0.6628, allocations: 5.901 MB / 0.5567 GB, free: 87.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/0.6642, allocations: 1.808 MB / 0.5585 GB, free: 86.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001082/0.6653, allocations: 377.4 kB / 0.5588 GB, free: 85.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/0.6656, allocations: 123.2 kB / 0.559 GB, free: 85.83 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6656, allocations: 0 / 0.559 GB, free: 85.83 MB / 446.1 MB Notification: Performance of Templates: time 0.04285/0.7084, allocations: 32.12 MB / 0.5903 GB, free: 54.96 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.529737114906311]