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.002053/0.002053, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.001617/0.001617, allocations: 213.9 kB / 24.48 MB, free: 3.832 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.626/1.626, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.001974/0.001974, allocations: 60.09 kB / 379 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2814, allocations: 53.42 MB / 432.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01775/0.2992, allocations: 12.34 MB / 444.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.3111, allocations: 4.938 MB / 449.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002927/0.314, allocations: 103.4 kB / 449.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004245/0.3183, allocations: 1.099 MB / 450.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006023/0.3243, allocations: 1.422 MB / 452.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003781/0.3281, allocations: 0.9929 MB / 453.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007379/0.3355, allocations: 4.12 MB / 457.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004053/0.3395, allocations: 1.75 MB / 459.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003819/0.3433, allocations: 1.975 MB / 461.2 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004258/0.3476, allocations: 2.199 MB / 463.4 MB, free: 7.426 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001449/0.349, allocations: 0.5078 MB / 463.9 MB, free: 6.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.3517, allocations: 0.7497 MB / 464.6 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001922/0.3536, allocations: 1.153 MB / 465.8 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003734/0.3573, allocations: 1.704 MB / 467.5 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.368, allocations: 6.887 MB / 474.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.368, allocations: 4 kB / 474.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.368, allocations: 0 / 474.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000249/0.3682, allocations: 0 / 474.4 MB, free: 12.39 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.01524/0.3835, allocations: 4.527 MB / 478.9 MB, free: 7.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.3835, allocations: 15.98 kB / 478.9 MB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005313/0.3888, allocations: 0.8222 MB / 479.7 MB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006415/0.3953, allocations: 2.424 MB / 482.1 MB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002901/0.3955, allocations: 242.4 kB / 482.4 MB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001367/0.3969, allocations: 327.9 kB / 482.7 MB, free: 3.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.4081, allocations: 4.446 MB / 487.1 MB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-05/0.4082, allocations: 7.953 kB / 487.2 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004025/0.4086, allocations: 128 kB / 487.3 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000195/0.4088, allocations: 150.4 kB / 487.4 MB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008628/0.4175, allocations: 3.636 MB / 491.1 MB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02596/0.4434, allocations: 11.38 MB / 0.4907 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005974/0.4494, allocations: 2.696 MB / 0.4933 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003275/0.4527, allocations: 1.519 MB / 0.4948 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007883/0.4605, allocations: 3.447 MB / 0.4982 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001586/0.4621, allocations: 1.027 MB / 0.4992 GB, free: 7.113 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 4.589e-06/0.4621, allocations: 0 / 0.4992 GB, free: 7.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01419/0.4763, allocations: 6.139 MB / 0.5052 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/0.4765, allocations: 218.9 kB / 0.5054 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/0.4795, allocations: 1.726 MB / 0.507 GB, free: 14.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002944/0.4798, allocations: 53.64 kB / 0.5071 GB, free: 14.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001807/0.4816, allocations: 1.544 MB / 0.5086 GB, free: 13.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006439/0.4822, allocations: 0.4919 MB / 0.5091 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000527/0.4828, allocations: 319.4 kB / 0.5094 GB, free: 12.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4829, allocations: 301.1 kB / 0.5097 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.4842, allocations: 0.6832 MB / 0.5103 GB, free: 11.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.486, allocations: 1.4 MB / 0.5117 GB, free: 9.848 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003085/0.4891, allocations: 1.962 MB / 0.5136 GB, free: 7.684 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.4891, allocations: 4 kB / 0.5136 GB, free: 7.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00471/0.4938, allocations: 2.425 MB / 0.516 GB, free: 5.234 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.4939, allocations: 15.94 kB / 0.516 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/0.4939, allocations: 16.28 kB / 0.516 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000922/0.4948, allocations: 351.1 kB / 0.5164 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.4963, allocations: 375.4 kB / 0.5167 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00743/0.5037, allocations: 6.341 MB / 0.5229 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.5055, allocations: 95.84 kB / 0.523 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/0.5058, allocations: 75.98 kB / 0.5231 GB, free: 13.67 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.002274/0.5081, allocations: 1.032 MB / 0.5241 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005003/0.5086, allocations: 194.7 kB / 0.5243 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004506/0.5131, allocations: 2.176 MB / 0.5264 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.5131, allocations: 16 kB / 0.5264 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.5131, allocations: 8 kB / 0.5264 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.5131, allocations: 7.969 kB / 0.5264 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009431/0.5225, allocations: 4.334 MB / 0.5307 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-06/0.5226, allocations: 0 / 0.5307 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008249/0.5234, allocations: 179.8 kB / 0.5308 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001487/0.5249, allocations: 0.5078 MB / 0.5313 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.525, allocations: 43.97 kB / 0.5314 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2786/0.8036, allocations: 10.8 MB / 0.5419 GB, free: 95.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8036, allocations: 1.438 kB / 0.5419 GB, free: 95.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005186/0.8088, allocations: 3.075 MB / 0.5449 GB, free: 93.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.8099, allocations: 348.5 kB / 0.5453 GB, free: 93.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002574/0.8101, allocations: 39.44 kB / 0.5453 GB, free: 93.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008147/0.811, allocations: 57.05 kB / 0.5453 GB, free: 93.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/0.8112, allocations: 122.5 kB / 0.5455 GB, free: 93.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.464e-05/0.8113, allocations: 39.11 kB / 0.5455 GB, free: 93.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001624/0.813, allocations: 1.168 MB / 0.5466 GB, free: 93.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.813, allocations: 0 / 0.5466 GB, free: 93.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00195/0.8149, allocations: 0.581 MB / 0.5472 GB, free: 93.05 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.001755/0.8167, allocations: 0.4949 MB / 0.5477 GB, free: 92.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003175/0.8198, allocations: 2.082 MB / 0.5497 GB, free: 91.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.8198, allocations: 6.688 kB / 0.5497 GB, free: 91.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002055/0.8219, allocations: 1.554 MB / 0.5512 GB, free: 90.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.8242, allocations: 460.3 kB / 0.5517 GB, free: 90.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008774/0.833, allocations: 5.892 MB / 0.5574 GB, free: 86.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/0.8344, allocations: 1.755 MB / 0.5592 GB, free: 85.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/0.8349, allocations: 142.4 kB / 0.5593 GB, free: 85.27 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.8349, allocations: 0 / 0.5593 GB, free: 85.27 MB / 446.1 MB Notification: Performance of Templates: time 0.09476/0.9297, allocations: 115.1 MB / 0.6717 GB, free: 2.977 MB / 478.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: 17.297750866040587]