Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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.001925/0.001925, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002299/0.002299, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.422/1.422, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 47.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2481, allocations: 53.36 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01097/0.2591, allocations: 8.464 MB / 439.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00647/0.2656, allocations: 3.428 MB / 443 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.2667, allocations: 63.56 kB / 443 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.2685, allocations: 0.7184 MB / 443.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.2708, allocations: 0.9013 MB / 444.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.2719, allocations: 447.1 kB / 445.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002994/0.2749, allocations: 2.432 MB / 447.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.2764, allocations: 1.049 MB / 448.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.2781, allocations: 1.129 MB / 449.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002072/0.2801, allocations: 1.44 MB / 451.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004035/0.2805, allocations: 280 kB / 451.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007784/0.2813, allocations: 419.8 kB / 451.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009023/0.2822, allocations: 0.818 MB / 452.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.2835, allocations: 1.038 MB / 453.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00425/0.2878, allocations: 3.787 MB / 457.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2878, allocations: 0 / 457.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2878, allocations: 0 / 457.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.671e-05/0.2878, allocations: 4 kB / 457.5 MB, free: 12.11 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.005925/0.2938, allocations: 2.667 MB / 460.2 MB, free: 9.402 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2938, allocations: 8.031 kB / 460.2 MB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003831/0.2942, allocations: 282.5 kB / 460.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008182/0.295, allocations: 287.3 kB / 460.7 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002815/0.2978, allocations: 1.325 MB / 462 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.2979, allocations: 139.7 kB / 462.2 MB, free: 7.324 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/0.2983, allocations: 195.9 kB / 462.4 MB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00422/0.3025, allocations: 2.536 MB / 464.9 MB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.619e-05/0.3025, allocations: 11.88 kB / 464.9 MB, free: 4.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.3027, allocations: 80 kB / 465 MB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.3028, allocations: 87.69 kB / 465.1 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/0.3062, allocations: 1.99 MB / 467.1 MB, free: 2.371 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.3177, allocations: 6.61 MB / 473.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.3195, allocations: 1.054 MB / 474.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.3211, allocations: 0.8186 MB / 475.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.3213, allocations: 52.83 kB / 475.6 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001158/0.3224, allocations: 0.787 MB / 476.4 MB, free: 8.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.786e-06/0.3224, allocations: 4 kB / 476.4 MB, free: 8.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01594/0.3384, allocations: 6.843 MB / 483.2 MB, free: 1.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.3385, allocations: 167.2 kB / 483.4 MB, free: 1.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.3406, allocations: 1.446 MB / 484.9 MB, free: 236 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.3407, allocations: 49.7 kB / 484.9 MB, free: 180 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009251/0.3417, allocations: 0.9662 MB / 485.9 MB, free: 15.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004011/0.3421, allocations: 436.3 kB / 486.3 MB, free: 14.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000415/0.3425, allocations: 247.5 kB / 486.5 MB, free: 14.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.3427, allocations: 361.9 kB / 486.9 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.3437, allocations: 0.6364 MB / 487.5 MB, free: 13.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.3451, allocations: 1.102 MB / 488.6 MB, free: 12.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/0.3476, allocations: 1.711 MB / 490.3 MB, free: 10.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.3476, allocations: 0 / 490.3 MB, free: 10.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004078/0.3517, allocations: 2.277 MB / 492.6 MB, free: 8.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.3517, allocations: 8 kB / 492.6 MB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.3517, allocations: 8.25 kB / 492.6 MB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.3529, allocations: 0.495 MB / 493.1 MB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.354, allocations: 299.5 kB / 493.4 MB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00766/0.3617, allocations: 6.844 MB / 0.4885 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.3631, allocations: 95.91 kB / 0.4886 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.3632, allocations: 52.05 kB / 0.4887 GB, free: 15.97 MB / 414.1 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.001165/0.3644, allocations: 0.6372 MB / 0.4893 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003517/0.3647, allocations: 170.9 kB / 0.4895 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003805/0.3685, allocations: 2.075 MB / 0.4915 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.3686, allocations: 12 kB / 0.4915 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.3686, allocations: 4 kB / 0.4915 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.3686, allocations: 7.969 kB / 0.4915 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007747/0.3763, allocations: 4.117 MB / 0.4955 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.3763, allocations: 8.031 kB / 0.4955 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008399/0.3772, allocations: 191.7 kB / 0.4957 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/0.3786, allocations: 0.5349 MB / 0.4962 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.757e-05/0.3787, allocations: 35.98 kB / 0.4963 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008618/0.3873, allocations: 8.261 MB / 0.5043 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/0.3874, allocations: 7.969 kB / 0.5044 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00518/0.3925, allocations: 3.025 MB / 0.5073 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009546/0.3935, allocations: 298.8 kB / 0.5076 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/0.3937, allocations: 35.98 kB / 0.5076 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008349/0.3946, allocations: 75.86 kB / 0.5077 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.3948, allocations: 100.8 kB / 0.5078 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.494e-05/0.3949, allocations: 39.98 kB / 0.5078 GB, free: 11.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001533/0.3964, allocations: 0.9951 MB / 0.5088 GB, free: 10.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3964, allocations: 0 / 0.5088 GB, free: 10.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001673/0.3981, allocations: 455.9 kB / 0.5092 GB, free: 10.23 MB / 430.1 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.00698/0.4051, allocations: 3.987 MB / 0.5131 GB, free: 6.348 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003622/0.4087, allocations: 2.046 MB / 0.5151 GB, free: 4.262 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.4087, allocations: 0 / 0.5151 GB, free: 4.262 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002354/0.4111, allocations: 1.4 MB / 0.5165 GB, free: 2.805 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.4132, allocations: 423.3 kB / 0.5169 GB, free: 2.402 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02584/0.439, allocations: 16.09 MB / 0.5326 GB, free: 1.777 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/0.4403, allocations: 1.126 MB / 0.5337 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000969/0.4413, allocations: 329 kB / 0.534 GB, free: 296 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2042/0.6455, allocations: 0.7479 MB / 0.5348 GB, free: 102.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6455, allocations: 2 kB / 0.5348 GB, free: 102.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08635/0.7319, allocations: 45.2 MB / 0.5789 GB, free: 66.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.37, allocations: 3.938 kB / 0.5789 GB, free: 66.85 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 646] Reference file matches [Calling sys.exit(0), Time elapsed: 44.858645840984536]