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.0009227/0.0009227, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008349/0.0008349, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9104/0.9104, allocations: 173.4 MB / 200.5 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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 1.864e-06/1.864e-06, allocations: 0 / 318.5 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.567e-05, allocations: 2.281 kB / 318.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.009162/0.009178, allocations: 11.81 MB / 330.3 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005767/0.01494, allocations: 4.587 MB / 334.9 MB, free: 5.867 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007707/0.01572, allocations: 95.44 kB / 334.9 MB, free: 5.773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.01741, allocations: 1.103 MB / 336.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.01919, allocations: 1.455 MB / 337.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.0203, allocations: 0.9609 MB / 338.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002404/0.02271, allocations: 4.243 MB / 342.7 MB, free: 13.97 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.02421, allocations: 1.739 MB / 344.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001854/0.02607, allocations: 2.862 MB / 347.3 MB, free: 9.297 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.02762, allocations: 1.847 MB / 349.2 MB, free: 7.445 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003363/0.02796, allocations: 0.5117 MB / 349.7 MB, free: 6.934 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006698/0.02863, allocations: 0.7417 MB / 350.4 MB, free: 6.191 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005674/0.0292, allocations: 1.172 MB / 351.6 MB, free: 5.016 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008489/0.03005, allocations: 1.442 MB / 353 MB, free: 3.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004064/0.03411, allocations: 6.864 MB / 359.9 MB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.03411, allocations: 4 kB / 359.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.03412, allocations: 3.938 kB / 359.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.635e-05/0.03415, allocations: 0 / 359.9 MB, free: 12.68 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.005585/0.03974, allocations: 4.466 MB / 364.4 MB, free: 8.152 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.03978, allocations: 8.031 kB / 364.4 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003952/0.04018, allocations: 459.7 kB / 364.8 MB, free: 7.684 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.04224, allocations: 0.8339 MB / 365.7 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.0448, allocations: 2.4 MB / 368.1 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.04492, allocations: 246.3 kB / 368.3 MB, free: 4.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003074/0.04523, allocations: 316 kB / 368.6 MB, free: 3.848 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004863/0.05009, allocations: 4.443 MB / 373 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.054e-05/0.05014, allocations: 7.953 kB / 373.1 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/0.05036, allocations: 128 kB / 373.2 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.05047, allocations: 154.4 kB / 373.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004537/0.05501, allocations: 3.625 MB / 377 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/0.06744, allocations: 11.83 MB / 388.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/0.07087, allocations: 2.661 MB / 391.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.07217, allocations: 1.246 MB / 392.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003732/0.0759, allocations: 3.239 MB / 395.9 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008908/0.07679, allocations: 1.016 MB / 396.9 MB, free: 7.117 MB / 362.7 MB Notification: Performance of pre-optimization done (n=132): time 2.365e-06/0.07679, allocations: 0 / 396.9 MB, free: 7.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=140): time 0.007354/0.08415, allocations: 5.955 MB / 402.9 MB, free: 1.109 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.08423, allocations: 222.9 kB / 403.1 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/0.08592, allocations: 1.941 MB / 405.1 MB, free: 14.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/0.08598, allocations: 45.7 kB / 405.1 MB, free: 14.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.08706, allocations: 1.506 MB / 406.6 MB, free: 13.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.08729, allocations: 0.5074 MB / 407.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.08759, allocations: 311.5 kB / 407.4 MB, free: 12.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.08765, allocations: 305.1 kB / 407.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006754/0.08833, allocations: 0.6637 MB / 408.4 MB, free: 11.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009713/0.0893, allocations: 1.396 MB / 409.8 MB, free: 9.879 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.09094, allocations: 1.935 MB / 411.7 MB, free: 7.742 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.09095, allocations: 4 kB / 411.7 MB, free: 7.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002589/0.09354, allocations: 2.358 MB / 414.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.09356, allocations: 19.92 kB / 414.1 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.09357, allocations: 16 kB / 414.1 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004233/0.094, allocations: 287.5 kB / 414.4 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/0.09474, allocations: 375.4 kB / 414.8 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00369/0.09843, allocations: 6.006 MB / 420.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.09903, allocations: 104 kB / 420.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.683e-05/0.0991, allocations: 72 kB / 420.9 MB, free: 14.14 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 (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.001002/0.1001, allocations: 1.036 MB / 422 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.1003, allocations: 214.7 kB / 422.2 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.1025, allocations: 2.087 MB / 424.3 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.1025, allocations: 19.94 kB / 424.3 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1025, allocations: 4 kB / 424.3 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.1025, allocations: 11.97 kB / 424.3 MB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004733/0.1073, allocations: 4.628 MB / 428.9 MB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1073, allocations: 0 / 428.9 MB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/0.1077, allocations: 179.8 kB / 429.1 MB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006274/0.1083, allocations: 463.8 kB / 429.6 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/0.1084, allocations: 43.98 kB / 429.6 MB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006126/0.1145, allocations: 10.5 MB / 440.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1145, allocations: 4.031 kB / 440.1 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003077/0.1176, allocations: 2.988 MB / 443.1 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/0.118, allocations: 362.5 kB / 443.5 MB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.1182, allocations: 43.92 kB / 443.5 MB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.1186, allocations: 59.95 kB / 443.6 MB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.1187, allocations: 113.1 kB / 443.7 MB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.1188, allocations: 35.98 kB / 443.7 MB, free: 6.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001147/0.1199, allocations: 1.318 MB / 445 MB, free: 5.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1199, allocations: 0 / 445 MB, free: 5.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001206/0.1211, allocations: 0.5781 MB / 445.6 MB, free: 4.742 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 (103): * Single equations (assignments): 96 * 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.004037/0.1252, allocations: 3.947 MB / 449.5 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1342/0.2593, allocations: 2.031 MB / 451.6 MB, free: 120.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.2593, allocations: 0.6875 kB / 451.6 MB, free: 120.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001925/0.2613, allocations: 1.528 MB / 453.1 MB, free: 120 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.2631, allocations: 0.5363 MB / 453.6 MB, free: 120 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/0.2828, allocations: 19.92 MB / 473.6 MB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.2838, allocations: 1.802 MB / 475.4 MB, free: 103.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007517/0.2846, allocations: 414.9 kB / 475.8 MB, free: 102.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007736/0.2853, allocations: 1.176 MB / 476.9 MB, free: 101.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.263e-06/0.2853, allocations: 0 / 476.9 MB, free: 101.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06186/0.3472, allocations: 58.17 MB / 0.5226 GB, free: 43.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.522/8.869, allocations: 3.984 kB / 0.5226 GB, free: 43.97 MB / 410.7 MB " [Timeout remaining time 651] (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/jenkins/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/jenkins/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 641] Reference file matches [Calling sys.exit(0), Time elapsed: 38.810097116045654]