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.001295/0.001295, allocations: 119.9 kB / 17.79 MB, free: 5.281 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.001361/0.001361, allocations: 189.2 kB / 20.73 MB, free: 2.348 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.334/1.334, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.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.001737/0.001737, allocations: 51.92 kB / 365.7 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1099, allocations: 52.15 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01866/0.1286, allocations: 13.5 MB / 431.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.1415, allocations: 4.863 MB / 436.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003403/0.1449, allocations: 79.69 kB / 436.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004357/0.1493, allocations: 1.142 MB / 437.4 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005453/0.1547, allocations: 1.422 MB / 438.8 MB, free: 7.504 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.158, allocations: 0.9919 MB / 439.8 MB, free: 6.516 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007221/0.1652, allocations: 4.053 MB / 443.9 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004795/0.17, allocations: 2.262 MB / 446.1 MB, free: 116 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2155/0.3855, allocations: 1.923 MB / 448 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002909/0.3884, allocations: 2.199 MB / 450.2 MB, free: 9.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008853/0.3892, allocations: 0.5083 MB / 450.7 MB, free: 9.566 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.3909, allocations: 0.7475 MB / 451.5 MB, free: 9.566 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.392, allocations: 1.151 MB / 452.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003423/0.3954, allocations: 2.146 MB / 454.8 MB, free: 8.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009008/0.4044, allocations: 6.82 MB / 461.6 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4044, allocations: 0 / 461.6 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4044, allocations: 2.375 kB / 461.6 MB, free: 8.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001723/0.4046, allocations: 1.219 kB / 461.6 MB, free: 8.156 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.01191/0.4165, allocations: 4.585 MB / 466.2 MB, free: 6.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4166, allocations: 17.05 kB / 466.2 MB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006805/0.4172, allocations: 455.3 kB / 466.7 MB, free: 6.074 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004077/0.4213, allocations: 0.8358 MB / 467.5 MB, free: 5.805 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004649/0.426, allocations: 2.489 MB / 470 MB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.4261, allocations: 239.6 kB / 470.2 MB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005253/0.4266, allocations: 317.6 kB / 470.5 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006857/0.4335, allocations: 4.292 MB / 474.8 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.546e-05/0.4336, allocations: 4.625 kB / 474.8 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002976/0.4339, allocations: 127.9 kB / 474.9 MB, free: 1.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001671/0.434, allocations: 151.5 kB / 475.1 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006186/0.4402, allocations: 3.631 MB / 478.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02523/0.4655, allocations: 13.28 MB / 492 MB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00747/0.4729, allocations: 6.828 MB / 498.8 MB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002431/0.4754, allocations: 1.245 MB / 0.4884 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00849/0.4838, allocations: 3.845 MB / 0.4921 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001502/0.4853, allocations: 0.858 MB / 0.493 GB, free: 9.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=132): time 3.727e-06/0.4853, allocations: 0 / 0.493 GB, free: 9.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=140): time 0.01608/0.5014, allocations: 6.56 MB / 0.4994 GB, free: 3.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.5016, allocations: 226.9 kB / 0.4996 GB, free: 2.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005246/0.5069, allocations: 1.906 MB / 0.5014 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002727/0.5071, allocations: 49.7 kB / 0.5015 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002077/0.5092, allocations: 1.51 MB / 0.503 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007201/0.5099, allocations: 0.5019 MB / 0.5035 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007447/0.5107, allocations: 307.5 kB / 0.5037 GB, free: 14.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5108, allocations: 313.1 kB / 0.504 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.5122, allocations: 0.6598 MB / 0.5047 GB, free: 13.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.514, allocations: 1.216 MB / 0.5059 GB, free: 12.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/0.5171, allocations: 1.934 MB / 0.5078 GB, free: 10.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.536e-05/0.5171, allocations: 7.75 kB / 0.5078 GB, free: 10.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004634/0.5217, allocations: 2.43 MB / 0.5101 GB, free: 7.648 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.5217, allocations: 12 kB / 0.5102 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.28e-05/0.5218, allocations: 16.94 kB / 0.5102 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008598/0.5226, allocations: 291.5 kB / 0.5105 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.524, allocations: 375.8 kB / 0.5108 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006846/0.5309, allocations: 6.387 MB / 0.517 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.5328, allocations: 91.95 kB / 0.5171 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003013/0.5331, allocations: 68 kB / 0.5172 GB, free: 84 kB / 414.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.00255/0.5356, allocations: 1.037 MB / 0.5182 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006341/0.5363, allocations: 210.6 kB / 0.5184 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004753/0.541, allocations: 2.237 MB / 0.5206 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.508e-05/0.541, allocations: 25.02 kB / 0.5206 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.78e-05/0.5411, allocations: 11.98 kB / 0.5206 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.5411, allocations: 3.984 kB / 0.5206 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.5523, allocations: 5.076 MB / 0.5256 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.5523, allocations: 4.094 kB / 0.5256 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008089/0.5531, allocations: 184.1 kB / 0.5258 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001322/0.5544, allocations: 468.2 kB / 0.5262 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.5545, allocations: 43.97 kB / 0.5263 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01231/0.5668, allocations: 11.16 MB / 0.5372 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5668, allocations: 3.281 kB / 0.5372 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00644/0.5733, allocations: 3.138 MB / 0.5402 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001512/0.5748, allocations: 439.6 kB / 0.5406 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000677/0.5755, allocations: 39.94 kB / 0.5407 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.5768, allocations: 59.95 kB / 0.5407 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003252/0.5771, allocations: 105.2 kB / 0.5408 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.806e-05/0.5772, allocations: 39.98 kB / 0.5409 GB, free: 7.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002815/0.58, allocations: 1.311 MB / 0.5422 GB, free: 5.754 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.58, allocations: 4 kB / 0.5422 GB, free: 5.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002899/0.5829, allocations: 0.582 MB / 0.5427 GB, free: 5.168 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.007519/0.5904, allocations: 4.079 MB / 0.5467 GB, free: 1.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003658/0.5941, allocations: 2.103 MB / 0.5488 GB, free: 15.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.5941, allocations: 0 / 0.5488 GB, free: 15.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00241/0.5965, allocations: 1.517 MB / 0.5502 GB, free: 13.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/0.5993, allocations: 0.5367 MB / 0.5508 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03415/0.6334, allocations: 20.08 MB / 0.5704 GB, free: 8.426 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002822/0.6362, allocations: 2.348 MB / 0.5727 GB, free: 6.043 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001278/0.6375, allocations: 413 kB / 0.5731 GB, free: 5.637 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/0.6391, allocations: 1.183 MB / 0.5742 GB, free: 4.453 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6391, allocations: 0 / 0.5742 GB, free: 4.453 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3372/0.9764, allocations: 54.91 MB / 0.6279 GB, free: 165.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.28, allocations: 11.05 kB / 0.6279 GB, free: 165.6 MB / 0.5137 GB " [Timeout remaining time 645] (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_2/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_2/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 640] Reference file matches [Calling sys.exit(0), Time elapsed: 61.60178700275719]