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.001355/0.001355, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001586/0.001586, allocations: 215.3 kB / 23.74 MB, free: 4.656 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.001537/0.001537, allocations: 51.92 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2909, allocations: 53.35 MB / 431.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01808/0.309, allocations: 14.19 MB / 445.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.3204, allocations: 5.258 MB / 450.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003344/0.3237, allocations: 103.4 kB / 450.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003994/0.3277, allocations: 1.157 MB / 451.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005345/0.3331, allocations: 1.441 MB / 453.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003429/0.3365, allocations: 1.026 MB / 454.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006882/0.3434, allocations: 4.129 MB / 458.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004421/0.3478, allocations: 1.813 MB / 460.3 MB, free: 9.539 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004458/0.3523, allocations: 1.982 MB / 462.3 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005218/0.3575, allocations: 2.332 MB / 464.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001572/0.3591, allocations: 0.5078 MB / 465.1 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003286/0.3623, allocations: 0.777 MB / 465.9 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002328/0.3647, allocations: 1.153 MB / 467 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004488/0.3692, allocations: 2.151 MB / 469.2 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.3803, allocations: 6.864 MB / 476 MB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3803, allocations: 0 / 476 MB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3803, allocations: 0 / 476 MB, free: 9.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002542/0.3805, allocations: 0 / 476 MB, free: 9.723 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.01566/0.3962, allocations: 4.544 MB / 480.6 MB, free: 5.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.3962, allocations: 12.03 kB / 480.6 MB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001515/0.3978, allocations: 459.7 kB / 481 MB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005103/0.4029, allocations: 0.8261 MB / 481.9 MB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006287/0.4092, allocations: 2.439 MB / 484.3 MB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/0.4094, allocations: 238.4 kB / 484.5 MB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/0.4105, allocations: 323.9 kB / 484.9 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/0.4208, allocations: 4.292 MB / 489.2 MB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.153e-05/0.4209, allocations: 7.953 kB / 489.2 MB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004466/0.4214, allocations: 136 kB / 489.3 MB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001737/0.4215, allocations: 150.4 kB / 489.4 MB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00793/0.4295, allocations: 3.633 MB / 493.1 MB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0274/0.4569, allocations: 13.06 MB / 0.4943 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006326/0.4632, allocations: 2.721 MB / 0.4969 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003379/0.4666, allocations: 1.515 MB / 0.4984 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008466/0.475, allocations: 3.835 MB / 0.5022 GB, free: 3.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001583/0.4766, allocations: 0.8688 MB / 0.503 GB, free: 2.242 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 4.338e-06/0.4766, allocations: 0 / 0.503 GB, free: 2.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01469/0.4913, allocations: 6.139 MB / 0.509 GB, free: 12.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.4915, allocations: 226.9 kB / 0.5092 GB, free: 11.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003808/0.4953, allocations: 1.936 MB / 0.5111 GB, free: 9.793 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002247/0.4955, allocations: 49.7 kB / 0.5112 GB, free: 9.738 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001902/0.4974, allocations: 1.525 MB / 0.5126 GB, free: 8.199 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008209/0.4982, allocations: 0.5036 MB / 0.5131 GB, free: 7.691 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007804/0.499, allocations: 311.5 kB / 0.5134 GB, free: 7.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.4992, allocations: 305.1 kB / 0.5137 GB, free: 7.082 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.5007, allocations: 0.6754 MB / 0.5144 GB, free: 6.406 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/0.5027, allocations: 1.225 MB / 0.5156 GB, free: 4.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003293/0.506, allocations: 1.966 MB / 0.5175 GB, free: 2.789 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/0.506, allocations: 7.938 kB / 0.5175 GB, free: 2.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005203/0.5112, allocations: 2.44 MB / 0.5199 GB, free: 328 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.5113, allocations: 8 kB / 0.5199 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/0.5113, allocations: 20.28 kB / 0.5199 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009718/0.5123, allocations: 343.2 kB / 0.5202 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.5138, allocations: 383.3 kB / 0.5206 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007806/0.5216, allocations: 6.476 MB / 0.5269 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.5234, allocations: 91.84 kB / 0.527 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002855/0.5237, allocations: 75.98 kB / 0.5271 GB, free: 8.59 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.002291/0.526, allocations: 1.044 MB / 0.5281 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006237/0.5266, allocations: 214.6 kB / 0.5283 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004772/0.5314, allocations: 2.182 MB / 0.5305 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.5314, allocations: 16 kB / 0.5305 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.393e-05/0.5314, allocations: 7.938 kB / 0.5305 GB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/0.5314, allocations: 11.97 kB / 0.5305 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2642/0.7956, allocations: 5.026 MB / 0.5354 GB, free: 97.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/0.7956, allocations: 1.094 kB / 0.5354 GB, free: 97.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.7967, allocations: 180.8 kB / 0.5356 GB, free: 97.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001797/0.7985, allocations: 0.5042 MB / 0.5361 GB, free: 97.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/0.7987, allocations: 40.53 kB / 0.5361 GB, free: 97.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009989/0.8087, allocations: 11.05 MB / 0.5469 GB, free: 89.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.8087, allocations: 1.25 kB / 0.5469 GB, free: 89.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005213/0.8139, allocations: 3.088 MB / 0.5499 GB, free: 88.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.815, allocations: 378.2 kB / 0.5503 GB, free: 88.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002685/0.8153, allocations: 38.58 kB / 0.5503 GB, free: 88.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008394/0.8161, allocations: 69.77 kB / 0.5504 GB, free: 88.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002775/0.8164, allocations: 106.1 kB / 0.5505 GB, free: 88.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.551e-05/0.8165, allocations: 39.38 kB / 0.5505 GB, free: 88.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001708/0.8182, allocations: 1.333 MB / 0.5518 GB, free: 87.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8182, allocations: 3.969 kB / 0.5518 GB, free: 87.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002103/0.8203, allocations: 0.5863 MB / 0.5524 GB, free: 87.62 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.006457/0.8267, allocations: 4.003 MB / 0.5563 GB, free: 85.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00337/0.8301, allocations: 2.087 MB / 0.5583 GB, free: 84.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.8301, allocations: 0 / 0.5583 GB, free: 84.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002143/0.8322, allocations: 1.55 MB / 0.5598 GB, free: 83.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/0.8348, allocations: 0.5552 MB / 0.5604 GB, free: 83.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02859/0.8634, allocations: 20.21 MB / 0.5801 GB, free: 64.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/0.865, allocations: 2.356 MB / 0.5824 GB, free: 62.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001271/0.8663, allocations: 405.2 kB / 0.5828 GB, free: 61.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/0.8675, allocations: 1.197 MB / 0.584 GB, free: 60.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.392e-06/0.8675, allocations: 0 / 0.584 GB, free: 60.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1124/0.9799, allocations: 57.03 MB / 0.6397 GB, free: 3.934 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.86/16.84, allocations: 4.062 kB / 0.6397 GB, free: 3.93 MB / 446.1 MB " [Timeout remaining time 643] (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 638] Reference file matches [Calling sys.exit(0), Time elapsed: 61.86905341409147]