Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_1_0_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_4_1_0_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.001511/0.001511, allocations: 47.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1054, allocations: 53.33 MB / 426.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.2201/0.3255, allocations: 14.14 MB / 440.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009386/0.3349, allocations: 5.222 MB / 445.7 MB, free: 136 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002732/0.3376, allocations: 107.5 kB / 445.8 MB, free: 92 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003454/0.341, allocations: 1.157 MB / 447 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005537/0.3466, allocations: 1.437 MB / 448.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003094/0.3497, allocations: 0.9988 MB / 449.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006976/0.3567, allocations: 4.111 MB / 453.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003667/0.3603, allocations: 2.274 MB / 455.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004538/0.3649, allocations: 1.98 MB / 457.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005176/0.37, allocations: 2.323 MB / 460.1 MB, free: 8.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001488/0.3715, allocations: 0.5085 MB / 460.6 MB, free: 8.699 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.3743, allocations: 0.7728 MB / 461.4 MB, free: 8.605 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.3757, allocations: 1.155 MB / 462.5 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004024/0.3798, allocations: 2.148 MB / 464.7 MB, free: 6.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009601/0.3894, allocations: 6.866 MB / 471.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3894, allocations: 0 / 471.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3894, allocations: 0 / 471.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001953/0.3896, allocations: 5.062 kB / 471.5 MB, free: 1.293 MB / 366.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.01358/0.4031, allocations: 4.615 MB / 476.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4032, allocations: 9.688 kB / 476.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008618/0.404, allocations: 460.8 kB / 476.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004594/0.4086, allocations: 0.8243 MB / 477.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005363/0.414, allocations: 2.512 MB / 479.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.4142, allocations: 238.4 kB / 480.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006677/0.4149, allocations: 319.9 kB / 480.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008707/0.4236, allocations: 4.3 MB / 484.8 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.8e-05/0.4237, allocations: 7.953 kB / 484.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003304/0.424, allocations: 132 kB / 484.9 MB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001736/0.4242, allocations: 154.4 kB / 485.1 MB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007105/0.4313, allocations: 3.633 MB / 488.7 MB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02501/0.4563, allocations: 13.39 MB / 0.4903 GB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008426/0.4647, allocations: 7.09 MB / 0.4973 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003573/0.4683, allocations: 1.523 MB / 0.4987 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00878/0.4771, allocations: 4.332 MB / 0.503 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001556/0.4786, allocations: 0.8727 MB / 0.5038 GB, free: 5.664 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.587e-06/0.4786, allocations: 0 / 0.5038 GB, free: 5.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01518/0.4938, allocations: 6.753 MB / 0.5104 GB, free: 14.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.494, allocations: 218.9 kB / 0.5106 GB, free: 14.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003731/0.4977, allocations: 1.936 MB / 0.5125 GB, free: 12.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.4978, allocations: 49.7 kB / 0.5126 GB, free: 12.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.4995, allocations: 1.529 MB / 0.5141 GB, free: 10.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000495/0.5, allocations: 0.5036 MB / 0.5146 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006043/0.5006, allocations: 315.5 kB / 0.5149 GB, free: 10.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5007, allocations: 301.1 kB / 0.5151 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.502, allocations: 0.6764 MB / 0.5158 GB, free: 9.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.5037, allocations: 1.225 MB / 0.517 GB, free: 7.625 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002974/0.5067, allocations: 1.966 MB / 0.5189 GB, free: 5.453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.5067, allocations: 4 kB / 0.5189 GB, free: 5.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004802/0.5115, allocations: 2.519 MB / 0.5214 GB, free: 2.891 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.5115, allocations: 20.2 kB / 0.5214 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/0.5115, allocations: 16 kB / 0.5214 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009526/0.5125, allocations: 335.9 kB / 0.5217 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.514, allocations: 371.4 kB / 0.5221 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007805/0.5218, allocations: 6.796 MB / 0.5287 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.5235, allocations: 95.91 kB / 0.5288 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/0.5237, allocations: 72.06 kB / 0.5289 GB, free: 10.77 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.002329/0.526, allocations: 1.048 MB / 0.5299 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000597/0.5266, allocations: 214.6 kB / 0.5301 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00482/0.5314, allocations: 2.321 MB / 0.5324 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.5314, allocations: 12 kB / 0.5324 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.253e-05/0.5315, allocations: 8 kB / 0.5324 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.5315, allocations: 7.969 kB / 0.5324 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.5421, allocations: 5.214 MB / 0.5375 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.148e-06/0.5421, allocations: 4 kB / 0.5375 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008311/0.5429, allocations: 175.7 kB / 0.5377 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.5444, allocations: 0.504 MB / 0.5382 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.5445, allocations: 39.97 kB / 0.5382 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/0.5579, allocations: 11.59 MB / 0.5495 GB, free: 4.723 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.558, allocations: 0 / 0.5495 GB, free: 4.723 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00624/0.5642, allocations: 3.233 MB / 0.5527 GB, free: 1.398 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.5654, allocations: 447.6 kB / 0.5531 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006223/0.566, allocations: 35.98 kB / 0.5531 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.5673, allocations: 67.95 kB / 0.5532 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003058/0.5676, allocations: 101.1 kB / 0.5533 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.742e-05/0.5677, allocations: 35.98 kB / 0.5533 GB, free: 0.707 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002748/0.5704, allocations: 1.335 MB / 0.5546 GB, free: 15.35 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5704, allocations: 4 kB / 0.5546 GB, free: 15.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002792/0.5732, allocations: 0.5937 MB / 0.5552 GB, free: 14.75 MB / 478.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.007843/0.5811, allocations: 4.156 MB / 0.5593 GB, free: 10.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0043/0.5854, allocations: 2.163 MB / 0.5614 GB, free: 8.441 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.5854, allocations: 4 kB / 0.5614 GB, free: 8.438 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002872/0.5883, allocations: 1.54 MB / 0.5629 GB, free: 6.836 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003749/0.592, allocations: 0.558 MB / 0.5634 GB, free: 6.285 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04253/0.6345, allocations: 20.33 MB / 0.5833 GB, free: 1.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003632/0.6382, allocations: 2.358 MB / 0.5856 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001672/0.6398, allocations: 405.1 kB / 0.586 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002149/0.642, allocations: 1.198 MB / 0.5872 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of SimCode: time 1.343e-06/0.642, allocations: 0 / 0.5872 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3588/1.001, allocations: 55.66 MB / 0.6415 GB, free: 164.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.54/17.54, allocations: 9.188 kB / 0.6415 GB, free: 164.9 MB / 0.5137 GB " [Timeout remaining time 642] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 639] Reference file matches [Calling sys.exit(0), Time elapsed: 62.097668721107766]