Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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.001097/0.001097, allocations: 76.06 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.0009887/0.0009887, allocations: 149.1 kB / 23.93 MB, free: 0.6328 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.8865/0.8865, allocations: 173.4 MB / 200.4 MB, free: 9.434 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.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 318.5 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.554e-05, allocations: 6.219 kB / 318.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.007316/0.007332, allocations: 8.404 MB / 326.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005462/0.01279, allocations: 3.272 MB / 330.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009043/0.0137, allocations: 71.5 kB / 330.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.01506, allocations: 0.7105 MB / 330.9 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.01682, allocations: 0.8888 MB / 331.8 MB, free: 8.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009816/0.0178, allocations: 481.7 kB / 332.3 MB, free: 8.461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002212/0.02001, allocations: 2.497 MB / 334.8 MB, free: 5.949 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.02109, allocations: 1.017 MB / 335.8 MB, free: 4.891 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.02285, allocations: 1.614 MB / 337.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.02442, allocations: 1.212 MB / 338.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000394/0.02482, allocations: 280 kB / 338.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005598/0.02538, allocations: 411.6 kB / 339.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005442/0.02592, allocations: 0.8296 MB / 340.1 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008126/0.02673, allocations: 0.8691 MB / 341 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.02946, allocations: 3.778 MB / 344.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.02946, allocations: 0 / 344.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.02946, allocations: 0 / 344.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.666e-05/0.02955, allocations: 0 / 344.8 MB, free: 11.89 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.003599/0.03315, allocations: 2.636 MB / 347.4 MB, free: 9.207 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.03319, allocations: 8.922 kB / 347.4 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000253/0.03344, allocations: 278.6 kB / 347.7 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004265/0.03387, allocations: 279.3 kB / 348 MB, free: 8.645 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.03541, allocations: 1.325 MB / 349.3 MB, free: 7.277 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/0.03549, allocations: 139.7 kB / 349.4 MB, free: 7.141 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.03567, allocations: 184 kB / 349.6 MB, free: 6.961 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/0.0383, allocations: 2.552 MB / 352.1 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.03833, allocations: 4 kB / 352.2 MB, free: 4.348 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.03845, allocations: 76 kB / 352.2 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.025e-05/0.03852, allocations: 95.67 kB / 352.3 MB, free: 4.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.04072, allocations: 1.982 MB / 354.3 MB, free: 2.195 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006615/0.04734, allocations: 6.617 MB / 360.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.0485, allocations: 1.052 MB / 362 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.04951, allocations: 0.8264 MB / 362.8 MB, free: 9.484 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.04965, allocations: 52.89 kB / 362.8 MB, free: 9.434 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000736/0.05039, allocations: 0.7792 MB / 363.6 MB, free: 8.602 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 2.194e-06/0.05039, allocations: 0 / 363.6 MB, free: 8.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.008957/0.05935, allocations: 6.835 MB / 370.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.05941, allocations: 171.2 kB / 370.6 MB, free: 1.512 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.06068, allocations: 1.434 MB / 372.1 MB, free: 60 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/0.06073, allocations: 53.7 kB / 372.1 MB, free: 0 / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005612/0.06129, allocations: 0.9505 MB / 373.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.06155, allocations: 440.3 kB / 373.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/0.06182, allocations: 247.5 kB / 373.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.06195, allocations: 357.9 kB / 374.1 MB, free: 14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007829/0.06273, allocations: 0.6403 MB / 374.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008894/0.06362, allocations: 1.102 MB / 375.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.06516, allocations: 1.711 MB / 377.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.06517, allocations: 4 kB / 377.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002372/0.06754, allocations: 2.273 MB / 379.8 MB, free: 7.953 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.06756, allocations: 8 kB / 379.8 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.06757, allocations: 12 kB / 379.8 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007111/0.06829, allocations: 492 kB / 380.3 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/0.06888, allocations: 299.5 kB / 380.6 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004758/0.07364, allocations: 6.828 MB / 387.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/0.07427, allocations: 88.05 kB / 387.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.941e-05/0.07434, allocations: 55.98 kB / 387.6 MB, free: 15.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008448/0.07519, allocations: 0.6456 MB / 388.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/0.07546, allocations: 163 kB / 388.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.07779, allocations: 2.083 MB / 390.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.0778, allocations: 12 kB / 390.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.0778, allocations: 8 kB / 390.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.07781, allocations: 3.984 kB / 390.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004926/0.08274, allocations: 4.109 MB / 394.6 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.08275, allocations: 0 / 394.6 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/0.08316, allocations: 195.7 kB / 394.8 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000769/0.08393, allocations: 0.5312 MB / 395.3 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.974e-05/0.08399, allocations: 39.97 kB / 395.4 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005654/0.08965, allocations: 8.265 MB / 403.6 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.08965, allocations: 3.938 kB / 403.6 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003274/0.09292, allocations: 3.013 MB / 406.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004486/0.09337, allocations: 302.8 kB / 406.9 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.09349, allocations: 32 kB / 407 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.09391, allocations: 67.92 kB / 407 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.09409, allocations: 108.7 kB / 407.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/0.09414, allocations: 39.98 kB / 407.2 MB, free: 11.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001044/0.09519, allocations: 0.9753 MB / 408.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.09519, allocations: 0 / 408.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001183/0.09637, allocations: 451.9 kB / 408.6 MB, free: 10.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (105): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0052/0.1016, allocations: 3.991 MB / 412.6 MB, free: 6.242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002666/0.1042, allocations: 2.038 MB / 414.6 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.1042, allocations: 0 / 414.6 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.1057, allocations: 1.392 MB / 416 MB, free: 2.715 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.107, allocations: 420.8 kB / 416.4 MB, free: 2.312 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/0.1261, allocations: 15.95 MB / 432.4 MB, free: 1.836 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009428/0.127, allocations: 1.126 MB / 433.5 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006781/0.1277, allocations: 325 kB / 433.8 MB, free: 356 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006856/0.1284, allocations: 0.7503 MB / 434.6 MB, free: 15.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.974e-06/0.1284, allocations: 3.938 kB / 434.6 MB, free: 15.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2045/0.3329, allocations: 44.49 MB / 479.1 MB, free: 99.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.687, allocations: 4.062 kB / 479.1 MB, free: 99.66 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 649] Reference file matches [Calling sys.exit(0), Time elapsed: 28.127197517082095]