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.001314/0.001314, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001469/0.001469, allocations: 212.6 kB / 23.74 MB, free: 4.672 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.449/1.449, allocations: 230.5 MB / 257.4 MB, free: 8.008 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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 63.89 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3114, allocations: 53.4 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.0179/0.3293, allocations: 14.19 MB / 445.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01539/0.3447, allocations: 5.26 MB / 450.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003172/0.3479, allocations: 103.4 kB / 450.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00428/0.3522, allocations: 1.153 MB / 451.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006178/0.3584, allocations: 1.445 MB / 453.4 MB, free: 444 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003692/0.362, allocations: 1.024 MB / 454.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007195/0.3692, allocations: 4.131 MB / 458.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00468/0.3739, allocations: 1.813 MB / 460.3 MB, free: 9.379 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004266/0.3782, allocations: 1.99 MB / 462.3 MB, free: 7.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004678/0.3829, allocations: 2.32 MB / 464.6 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001684/0.3845, allocations: 0.5117 MB / 465.1 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.3876, allocations: 0.7731 MB / 465.9 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002137/0.3897, allocations: 1.153 MB / 467.1 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004218/0.3939, allocations: 2.155 MB / 469.2 MB, free: 460 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.4051, allocations: 6.864 MB / 476.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.4051, allocations: 4 kB / 476.1 MB, free: 9.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4051, allocations: 0 / 476.1 MB, free: 9.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000284/0.4054, allocations: 0 / 476.1 MB, free: 9.559 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.01628/0.4217, allocations: 4.54 MB / 480.6 MB, free: 4.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.4217, allocations: 12.03 kB / 480.6 MB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001722/0.4235, allocations: 459.7 kB / 481.1 MB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005358/0.4288, allocations: 0.8261 MB / 481.9 MB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006842/0.4357, allocations: 2.444 MB / 484.4 MB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003403/0.436, allocations: 238.4 kB / 484.6 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001199/0.4372, allocations: 323.9 kB / 484.9 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/0.4491, allocations: 4.292 MB / 489.2 MB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001483/0.4493, allocations: 3.953 kB / 489.2 MB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009356/0.4502, allocations: 136 kB / 489.3 MB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00022/0.4504, allocations: 158.4 kB / 489.5 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009065/0.4595, allocations: 3.629 MB / 493.1 MB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02856/0.488, allocations: 13.05 MB / 0.4943 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00624/0.4943, allocations: 2.726 MB / 0.497 GB, free: 8.363 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/0.4975, allocations: 1.519 MB / 0.4985 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008371/0.5058, allocations: 3.835 MB / 0.5022 GB, free: 2.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001534/0.5074, allocations: 0.8689 MB / 0.5031 GB, free: 2.074 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 5.01e-06/0.5074, allocations: 0 / 0.5031 GB, free: 2.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01418/0.5216, allocations: 6.142 MB / 0.5091 GB, free: 11.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/0.5217, allocations: 226.9 kB / 0.5093 GB, free: 11.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003881/0.5256, allocations: 1.936 MB / 0.5112 GB, free: 9.625 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001552/0.5258, allocations: 53.7 kB / 0.5112 GB, free: 9.566 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001782/0.5275, allocations: 1.525 MB / 0.5127 GB, free: 8.027 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006276/0.5282, allocations: 0.4997 MB / 0.5132 GB, free: 7.523 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006574/0.5288, allocations: 315.5 kB / 0.5135 GB, free: 7.211 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.529, allocations: 301.1 kB / 0.5138 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.5303, allocations: 0.6715 MB / 0.5144 GB, free: 6.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/0.5322, allocations: 1.232 MB / 0.5156 GB, free: 4.785 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003196/0.5354, allocations: 1.962 MB / 0.5176 GB, free: 2.621 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/0.5354, allocations: 4 kB / 0.5176 GB, free: 2.617 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004607/0.54, allocations: 2.444 MB / 0.5199 GB, free: 156 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.54, allocations: 12 kB / 0.52 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/0.5401, allocations: 16 kB / 0.52 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009626/0.541, allocations: 347.3 kB / 0.5203 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.5425, allocations: 379.4 kB / 0.5207 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007799/0.5503, allocations: 6.469 MB / 0.527 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.5519, allocations: 99.91 kB / 0.5271 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.5521, allocations: 75.98 kB / 0.5272 GB, free: 8.418 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.002555/0.5547, allocations: 1.035 MB / 0.5282 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007173/0.5554, allocations: 218.6 kB / 0.5284 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004665/0.5601, allocations: 2.182 MB / 0.5305 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.5601, allocations: 19.88 kB / 0.5305 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.329e-05/0.5601, allocations: 8 kB / 0.5305 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.5601, allocations: 7.969 kB / 0.5305 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2575/0.8176, allocations: 5.023 MB / 0.5354 GB, free: 97.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/0.8176, allocations: 1.219 kB / 0.5354 GB, free: 97.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.8187, allocations: 180.5 kB / 0.5356 GB, free: 97.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001675/0.8204, allocations: 0.5044 MB / 0.5361 GB, free: 97.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/0.8206, allocations: 40.23 kB / 0.5361 GB, free: 97.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009179/0.8297, allocations: 11.04 MB / 0.5469 GB, free: 89.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8297, allocations: 9.469 kB / 0.5469 GB, free: 89.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004767/0.8345, allocations: 3.086 MB / 0.55 GB, free: 88.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009845/0.8355, allocations: 379.3 kB / 0.5503 GB, free: 88.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.8357, allocations: 27.81 kB / 0.5503 GB, free: 88.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008259/0.8366, allocations: 69.5 kB / 0.5504 GB, free: 88.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003057/0.8369, allocations: 105.2 kB / 0.5505 GB, free: 88.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.823e-05/0.837, allocations: 42.48 kB / 0.5505 GB, free: 88.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00177/0.8387, allocations: 1.333 MB / 0.5519 GB, free: 87.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8387, allocations: 0 / 0.5519 GB, free: 87.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00192/0.8406, allocations: 0.5881 MB / 0.5524 GB, free: 87.57 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.0058/0.8464, allocations: 4.013 MB / 0.5563 GB, free: 85.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002982/0.8494, allocations: 2.073 MB / 0.5584 GB, free: 84.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8494, allocations: 0 / 0.5584 GB, free: 84.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001951/0.8514, allocations: 1.555 MB / 0.5599 GB, free: 83.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.8537, allocations: 0.5566 MB / 0.5604 GB, free: 83.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0259/0.8796, allocations: 20.2 MB / 0.5802 GB, free: 64.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/0.8813, allocations: 2.364 MB / 0.5825 GB, free: 61.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001369/0.8827, allocations: 401.2 kB / 0.5828 GB, free: 61.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/0.8839, allocations: 1.194 MB / 0.584 GB, free: 60.28 MB / 446.1 MB Notification: Performance of SimCode: time 1.553e-06/0.8839, allocations: 0 / 0.584 GB, free: 60.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/0.9845, allocations: 57.02 MB / 0.6397 GB, free: 3.594 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.95/16.93, allocations: 13.97 kB / 0.6397 GB, free: 3.582 MB / 446.1 MB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] 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 638] Reference file matches [Calling sys.exit(0), Time elapsed: 60.689068373059854]