Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 180.5 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_0_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_0_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.001704/0.001704, allocations: 47.92 kB / 370.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2617, allocations: 52.2 MB / 422.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01814/0.2798, allocations: 13.54 MB / 436.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.2902, allocations: 4.872 MB / 441.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002711/0.2929, allocations: 95.44 kB / 441.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003717/0.2966, allocations: 1.161 MB / 442.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004973/0.3016, allocations: 1.433 MB / 443.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.3052, allocations: 0.9997 MB / 444.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00669/0.3119, allocations: 4.07 MB / 448.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003777/0.3157, allocations: 1.821 MB / 450.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003523/0.3192, allocations: 1.963 MB / 452.6 MB, free: 464 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003892/0.3231, allocations: 2.203 MB / 454.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.3244, allocations: 0.5156 MB / 455.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.3268, allocations: 0.7497 MB / 456.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002135/0.3289, allocations: 1.161 MB / 457.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004852/0.3337, allocations: 2.136 MB / 459.4 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.3449, allocations: 6.825 MB / 466.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3449, allocations: 0 / 466.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3449, allocations: 0 / 466.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002244/0.3451, allocations: 0 / 466.2 MB, free: 2.82 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.01421/0.3593, allocations: 4.505 MB / 470.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.3594, allocations: 12.03 kB / 470.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001424/0.3608, allocations: 459.7 kB / 471.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005051/0.3658, allocations: 0.8339 MB / 472 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006312/0.3722, allocations: 2.423 MB / 474.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003221/0.3725, allocations: 242.4 kB / 474.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001281/0.3738, allocations: 323.9 kB / 475 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/0.3848, allocations: 4.284 MB / 479.3 MB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001297/0.3849, allocations: 7.891 kB / 479.3 MB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007212/0.3856, allocations: 136 kB / 479.4 MB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001865/0.3858, allocations: 154.4 kB / 479.6 MB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008232/0.3941, allocations: 3.633 MB / 483.2 MB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02686/0.4209, allocations: 13.01 MB / 496.2 MB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006377/0.4273, allocations: 2.69 MB / 498.9 MB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002652/0.4299, allocations: 1.238 MB / 0.4884 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008669/0.4386, allocations: 3.575 MB / 0.4919 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/0.4402, allocations: 0.8571 MB / 0.4927 GB, free: 12.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 6.392e-06/0.4402, allocations: 7.922 kB / 0.4927 GB, free: 12.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01428/0.4545, allocations: 5.959 MB / 0.4986 GB, free: 6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/0.4546, allocations: 226.9 kB / 0.4988 GB, free: 5.727 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/0.4585, allocations: 1.91 MB / 0.5006 GB, free: 3.816 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.4587, allocations: 49.7 kB / 0.5007 GB, free: 3.762 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001741/0.4604, allocations: 1.51 MB / 0.5022 GB, free: 2.238 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000576/0.461, allocations: 0.5035 MB / 0.5027 GB, free: 1.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005994/0.4616, allocations: 315.5 kB / 0.503 GB, free: 1.418 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4617, allocations: 301.1 kB / 0.5032 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.463, allocations: 0.6676 MB / 0.5039 GB, free: 464 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.4647, allocations: 1.209 MB / 0.5051 GB, free: 15.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003156/0.4679, allocations: 1.935 MB / 0.507 GB, free: 12.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.229e-05/0.4679, allocations: 8 kB / 0.507 GB, free: 12.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005255/0.4732, allocations: 2.346 MB / 0.5093 GB, free: 10.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.4732, allocations: 12 kB / 0.5093 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-05/0.4732, allocations: 23.92 kB / 0.5093 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008918/0.4741, allocations: 287.5 kB / 0.5096 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.4756, allocations: 379.4 kB / 0.5099 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007091/0.4827, allocations: 6.079 MB / 0.5159 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.4844, allocations: 91.91 kB / 0.516 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003089/0.4847, allocations: 75.98 kB / 0.516 GB, free: 3.23 MB / 430.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 (196): * Single equations (assignments): 192 * 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,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002396/0.4871, allocations: 1.028 MB / 0.517 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005857/0.4877, allocations: 210.7 kB / 0.5172 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004553/0.4923, allocations: 2.103 MB / 0.5193 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/0.4923, allocations: 16 kB / 0.5193 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.417e-05/0.4923, allocations: 4 kB / 0.5193 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.4923, allocations: 3.984 kB / 0.5193 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.5031, allocations: 4.913 MB / 0.5241 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.5031, allocations: 0 / 0.5241 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008247/0.504, allocations: 179.8 kB / 0.5243 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.5053, allocations: 464 kB / 0.5247 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/0.5054, allocations: 40.05 kB / 0.5248 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2584/0.7638, allocations: 10.62 MB / 0.5351 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.7638, allocations: 2 kB / 0.5351 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005527/0.7693, allocations: 2.989 MB / 0.5381 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/0.7704, allocations: 366.9 kB / 0.5384 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.7707, allocations: 36.52 kB / 0.5384 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009396/0.7716, allocations: 62.81 kB / 0.5385 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/0.772, allocations: 110.1 kB / 0.5386 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.439e-05/0.7721, allocations: 38.31 kB / 0.5386 GB, free: 103.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00197/0.774, allocations: 1.321 MB / 0.5399 GB, free: 102.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.774, allocations: 0 / 0.5399 GB, free: 102.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00196/0.776, allocations: 0.579 MB / 0.5405 GB, free: 102.7 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 (102): * Single equations (assignments): 95 * 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,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,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.005835/0.7818, allocations: 3.903 MB / 0.5443 GB, free: 100.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00314/0.785, allocations: 2.031 MB / 0.5463 GB, free: 99.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.785, allocations: 3.438 kB / 0.5463 GB, free: 99.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.7868, allocations: 1.518 MB / 0.5478 GB, free: 98.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/0.7891, allocations: 0.5417 MB / 0.5483 GB, free: 98.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/0.8148, allocations: 19.96 MB / 0.5678 GB, free: 82.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/0.8162, allocations: 2.352 MB / 0.5701 GB, free: 79.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001113/0.8174, allocations: 409 kB / 0.5705 GB, free: 79.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/0.8184, allocations: 1.175 MB / 0.5716 GB, free: 78.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.8184, allocations: 5.422 kB / 0.5716 GB, free: 78.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1308/0.9492, allocations: 56.24 MB / 0.6266 GB, free: 22.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/16.41, allocations: 64 / 0.6266 GB, free: 22.36 MB / 446.1 MB " [Timeout remaining time 643] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 60.42124540405348]