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.0007901/0.0007901, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001279/0.001279, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9209/0.9209, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 5.39e-06/5.39e-06, allocations: 3.984 kB / 324.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/3.331e-05, allocations: 2.281 kB / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01131/0.01134, allocations: 12.35 MB / 336.9 MB, free: 3.402 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009701/0.02104, allocations: 4.945 MB / 341.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.02307, allocations: 107.4 kB / 342 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.02564, allocations: 1.11 MB / 343.1 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004434/0.03007, allocations: 1.471 MB / 344.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.03269, allocations: 0.989 MB / 345.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005429/0.03812, allocations: 4.319 MB / 349.9 MB, free: 6.406 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003117/0.04123, allocations: 1.75 MB / 351.6 MB, free: 4.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004784/0.04602, allocations: 2.873 MB / 354.5 MB, free: 1.711 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003117/0.04913, allocations: 1.855 MB / 356.4 MB, free: 15.85 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.0503, allocations: 0.5078 MB / 356.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.05196, allocations: 0.7651 MB / 357.6 MB, free: 14.58 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007227/0.05268, allocations: 1.172 MB / 358.8 MB, free: 13.4 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002239/0.05492, allocations: 1.45 MB / 360.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006728/0.06165, allocations: 6.906 MB / 367.2 MB, free: 5.023 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.06165, allocations: 0 / 367.2 MB, free: 5.023 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.06166, allocations: 0 / 367.2 MB, free: 5.023 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002064/0.06186, allocations: 0 / 367.2 MB, free: 5.023 MB / 330.7 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.008732/0.07059, allocations: 4.505 MB / 371.7 MB, free: 468 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.07064, allocations: 16.03 kB / 371.7 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004893/0.07113, allocations: 451.8 kB / 372.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002343/0.07348, allocations: 0.8299 MB / 373 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003214/0.07669, allocations: 2.416 MB / 375.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.07682, allocations: 238.4 kB / 375.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/0.07714, allocations: 316 kB / 375.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00513/0.08227, allocations: 4.454 MB / 380.4 MB, free: 7.605 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.817e-05/0.08233, allocations: 7.953 kB / 380.4 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002122/0.08254, allocations: 132 kB / 380.5 MB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.08265, allocations: 154.4 kB / 380.7 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004574/0.08722, allocations: 3.629 MB / 384.3 MB, free: 3.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.1013, allocations: 11.86 MB / 396.1 MB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003528/0.1048, allocations: 2.71 MB / 398.9 MB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.1065, allocations: 1.524 MB / 400.4 MB, free: 3.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004667/0.1112, allocations: 3.496 MB / 403.9 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.1122, allocations: 1.019 MB / 404.9 MB, free: 14.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=132): time 3.767e-06/0.1122, allocations: 0 / 404.9 MB, free: 14.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=140): time 0.008582/0.1208, allocations: 6.142 MB / 411 MB, free: 8.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.682e-05/0.1209, allocations: 230.9 kB / 411.3 MB, free: 8.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.1232, allocations: 1.963 MB / 413.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.1233, allocations: 49.7 kB / 413.3 MB, free: 6.242 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.1243, allocations: 1.525 MB / 414.8 MB, free: 4.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/0.1246, allocations: 0.4919 MB / 415.3 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000335/0.125, allocations: 315.4 kB / 415.6 MB, free: 3.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.38e-05/0.1251, allocations: 301.1 kB / 415.9 MB, free: 3.598 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007839/0.1258, allocations: 0.6793 MB / 416.6 MB, free: 2.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.1269, allocations: 1.408 MB / 418 MB, free: 1.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.129, allocations: 1.963 MB / 419.9 MB, free: 15.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.129, allocations: 4 kB / 419.9 MB, free: 15.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002716/0.1318, allocations: 2.448 MB / 422.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.1318, allocations: 12 kB / 422.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/0.1318, allocations: 12 kB / 422.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005641/0.1324, allocations: 335.3 kB / 422.7 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007518/0.1331, allocations: 379.3 kB / 423.1 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004364/0.1375, allocations: 6.426 MB / 429.5 MB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008919/0.1384, allocations: 95.89 kB / 429.6 MB, free: 5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.387e-05/0.1385, allocations: 72.12 kB / 429.7 MB, free: 4.93 MB / 394.7 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.001427/0.1399, allocations: 1.042 MB / 430.7 MB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/0.1401, allocations: 210.6 kB / 431 MB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/0.1426, allocations: 2.182 MB / 433.1 MB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.1426, allocations: 12 kB / 433.1 MB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.1426, allocations: 11.94 kB / 433.2 MB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.1426, allocations: 8.156 kB / 433.2 MB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005284/0.1479, allocations: 4.77 MB / 437.9 MB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.1479, allocations: 3.984 kB / 437.9 MB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004295/0.1483, allocations: 175.8 kB / 438.1 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007537/0.1491, allocations: 0.5041 MB / 438.6 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.053e-05/0.1492, allocations: 35.98 kB / 438.6 MB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007101/0.1563, allocations: 10.92 MB / 449.6 MB, free: 360 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1563, allocations: 0 / 449.6 MB, free: 360 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.174/0.3303, allocations: 3.081 MB / 452.7 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006431/0.331, allocations: 380.3 kB / 453 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.3311, allocations: 30.59 kB / 453.1 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.3316, allocations: 68.66 kB / 453.1 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/0.3318, allocations: 110.3 kB / 453.2 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.352e-05/0.3318, allocations: 42.97 kB / 453.3 MB, free: 111.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001259/0.3331, allocations: 1.341 MB / 454.6 MB, free: 111 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3331, allocations: 0 / 454.6 MB, free: 111 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001348/0.3345, allocations: 0.5855 MB / 455.2 MB, free: 110.9 MB / 410.7 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.003653/0.3381, allocations: 4.039 MB / 459.2 MB, free: 109.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.3403, allocations: 2.085 MB / 461.3 MB, free: 108.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3403, allocations: 0 / 461.3 MB, free: 108.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.3414, allocations: 1.557 MB / 462.9 MB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.3426, allocations: 0.5623 MB / 463.4 MB, free: 106.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/0.3632, allocations: 20.17 MB / 483.6 MB, free: 87.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.3643, allocations: 1.807 MB / 485.4 MB, free: 85.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000804/0.3651, allocations: 409.2 kB / 485.8 MB, free: 85.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008075/0.3659, allocations: 1.199 MB / 487 MB, free: 84.26 MB / 410.7 MB Notification: Performance of SimCode: time 1.814e-06/0.3659, allocations: 0 / 487 MB, free: 84.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06565/0.4316, allocations: 59.05 MB / 0.5333 GB, free: 25.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.598, allocations: 7.938 kB / 0.5333 GB, free: 25.61 MB / 410.7 MB " [Timeout remaining time 651] (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/jenkins/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/jenkins/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 642] Reference file matches [Calling sys.exit(0), Time elapsed: 37.630383064970374]