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.001604/0.001604, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002164/0.002164, allocations: 205.8 kB / 23.73 MB, free: 4.379 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.4/1.4, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.001556/0.001556, allocations: 47.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2606, allocations: 53.37 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01637/0.277, allocations: 12.33 MB / 443.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.2875, allocations: 4.943 MB / 448.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/0.2901, allocations: 103.4 kB / 448.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003434/0.2935, allocations: 1.114 MB / 449.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004937/0.2985, allocations: 1.426 MB / 451 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003102/0.3016, allocations: 0.9809 MB / 452 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006571/0.3081, allocations: 4.137 MB / 456.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003101/0.3112, allocations: 1.805 MB / 457.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.3144, allocations: 1.982 MB / 459.9 MB, free: 9.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003959/0.3184, allocations: 2.324 MB / 462.2 MB, free: 7.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009281/0.3193, allocations: 0.5078 MB / 462.8 MB, free: 6.805 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.3211, allocations: 0.7614 MB / 463.5 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.3223, allocations: 1.153 MB / 464.7 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002613/0.3249, allocations: 1.7 MB / 466.4 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008578/0.3335, allocations: 6.887 MB / 473.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3335, allocations: 0 / 473.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3335, allocations: 0 / 473.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001544/0.3336, allocations: 4 kB / 473.3 MB, free: 12.27 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.01305/0.3467, allocations: 4.54 MB / 477.8 MB, free: 7.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.3467, allocations: 8.031 kB / 477.8 MB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009492/0.3477, allocations: 455.7 kB / 478.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004719/0.3524, allocations: 0.8261 MB / 479.1 MB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005875/0.3583, allocations: 2.424 MB / 481.5 MB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.3585, allocations: 242.4 kB / 481.7 MB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009603/0.3595, allocations: 323.9 kB / 482.1 MB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009427/0.3689, allocations: 4.443 MB / 486.5 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.924e-05/0.369, allocations: 7.953 kB / 486.5 MB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003853/0.3694, allocations: 128 kB / 486.6 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001795/0.3696, allocations: 150.4 kB / 486.8 MB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007481/0.377, allocations: 3.629 MB / 490.4 MB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0242/0.4012, allocations: 11.86 MB / 0.4905 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005753/0.407, allocations: 2.707 MB / 0.4931 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003095/0.4101, allocations: 1.511 MB / 0.4946 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007714/0.4178, allocations: 3.488 MB / 0.498 GB, free: 7.102 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001526/0.4193, allocations: 1.027 MB / 0.499 GB, free: 6.004 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.557e-06/0.4193, allocations: 0 / 0.499 GB, free: 6.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01319/0.4325, allocations: 6.154 MB / 0.505 GB, free: 15.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.4327, allocations: 226.9 kB / 0.5053 GB, free: 15.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/0.4356, allocations: 1.967 MB / 0.5072 GB, free: 13.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001707/0.4358, allocations: 49.7 kB / 0.5072 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.4372, allocations: 1.522 MB / 0.5087 GB, free: 11.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005332/0.4377, allocations: 0.5035 MB / 0.5092 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005015/0.4382, allocations: 319.4 kB / 0.5095 GB, free: 11.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4384, allocations: 301.1 kB / 0.5098 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.4395, allocations: 0.6754 MB / 0.5105 GB, free: 10.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.4412, allocations: 1.404 MB / 0.5118 GB, free: 8.449 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002852/0.4441, allocations: 1.966 MB / 0.5137 GB, free: 6.281 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/0.4441, allocations: 7.938 kB / 0.5138 GB, free: 6.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00446/0.4486, allocations: 2.44 MB / 0.5161 GB, free: 3.812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/0.4486, allocations: 12 kB / 0.5161 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/0.4486, allocations: 16 kB / 0.5162 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009013/0.4495, allocations: 346.3 kB / 0.5165 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.451, allocations: 379.4 kB / 0.5169 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007065/0.4581, allocations: 6.418 MB / 0.5231 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.4597, allocations: 96.06 kB / 0.5232 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.4599, allocations: 75.98 kB / 0.5233 GB, free: 12.14 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.001982/0.4619, allocations: 1.04 MB / 0.5243 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004486/0.4623, allocations: 218.6 kB / 0.5245 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004254/0.4666, allocations: 2.178 MB / 0.5266 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.4666, allocations: 16 kB / 0.5267 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.4666, allocations: 7.938 kB / 0.5267 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.4666, allocations: 7.984 kB / 0.5267 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009177/0.4758, allocations: 4.75 MB / 0.5313 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.4758, allocations: 0 / 0.5313 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008628/0.4767, allocations: 191.8 kB / 0.5315 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001372/0.478, allocations: 0.4943 MB / 0.532 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.4781, allocations: 44.16 kB / 0.532 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2264/0.7045, allocations: 10.92 MB / 0.5427 GB, free: 94.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.7045, allocations: 0 / 0.5427 GB, free: 94.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005546/0.7101, allocations: 3.105 MB / 0.5457 GB, free: 92.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/0.7114, allocations: 370.9 kB / 0.5461 GB, free: 92.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003417/0.7117, allocations: 37.89 kB / 0.5461 GB, free: 92.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.7127, allocations: 61.09 kB / 0.5462 GB, free: 92.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003533/0.7131, allocations: 111.6 kB / 0.5463 GB, free: 92.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-05/0.7132, allocations: 39.09 kB / 0.5463 GB, free: 92.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001909/0.7151, allocations: 1.338 MB / 0.5476 GB, free: 92.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7151, allocations: 0 / 0.5476 GB, free: 92.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002136/0.7172, allocations: 0.5876 MB / 0.5482 GB, free: 92.16 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.005968/0.7232, allocations: 4.052 MB / 0.5521 GB, free: 90.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00306/0.7262, allocations: 2.089 MB / 0.5542 GB, free: 89.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7262, allocations: 0 / 0.5542 GB, free: 89.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.7282, allocations: 1.561 MB / 0.5557 GB, free: 87.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.7307, allocations: 0.564 MB / 0.5563 GB, free: 87.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02684/0.7575, allocations: 20.22 MB / 0.576 GB, free: 67.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/0.7591, allocations: 1.811 MB / 0.5778 GB, free: 65.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001242/0.7603, allocations: 405.2 kB / 0.5782 GB, free: 65.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.7615, allocations: 1.202 MB / 0.5793 GB, free: 64.39 MB / 446.1 MB Notification: Performance of SimCode: time 1.623e-06/0.7615, allocations: 5.25 kB / 0.5793 GB, free: 64.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/0.8628, allocations: 59.76 MB / 0.6377 GB, free: 5.059 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/14.02, allocations: 4.062 kB / 0.6377 GB, free: 5.055 MB / 446.1 MB " [Timeout remaining time 646] (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 641] Reference file matches [Calling sys.exit(0), Time elapsed: 55.131449221022194]