Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001391/0.001391, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001466/0.001466, allocations: 212.3 kB / 23.73 MB, free: 4.16 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2213/0.2213, allocations: 44.94 MB / 358.8 MB, free: 6.016 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 67.89 kB / 0.4931 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3371, allocations: 65.48 MB / 0.557 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003647/0.3407, allocations: 1.776 MB / 0.5588 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0028/0.3435, allocations: 1.735 MB / 0.5605 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.3436, allocations: 3.938 kB / 0.5605 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.3439, allocations: 55.69 kB / 0.5605 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.3443, allocations: 135.4 kB / 0.5606 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.3446, allocations: 111.6 kB / 0.5608 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.3449, allocations: 207.3 kB / 0.5609 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.12e-05/0.3449, allocations: 9.797 kB / 0.561 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.3451, allocations: 87.64 kB / 0.561 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.3452, allocations: 79.55 kB / 0.5611 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.3453, allocations: 12 kB / 0.5611 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.3455, allocations: 103.9 kB / 0.5612 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.745e-05/0.3455, allocations: 39.89 kB / 0.5613 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.895e-05/0.3456, allocations: 47.67 kB / 0.5613 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.346, allocations: 232.9 kB / 0.5615 GB, free: 2.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.346, allocations: 0 / 0.5615 GB, free: 2.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.346, allocations: 0 / 0.5615 GB, free: 2.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.346, allocations: 0 / 0.5615 GB, free: 2.871 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007376/0.3467, allocations: 439.3 kB / 0.562 GB, free: 2.414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3468, allocations: 12.03 kB / 0.562 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/0.3468, allocations: 34.73 kB / 0.562 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.3469, allocations: 16.84 kB / 0.562 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.3473, allocations: 198 kB / 0.5622 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3473, allocations: 384 / 0.5622 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.3473, allocations: 7.938 kB / 0.5622 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.3476, allocations: 152.5 kB / 0.5624 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3476, allocations: 0 / 0.5624 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.3476, allocations: 8 kB / 0.5624 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3476, allocations: 3.984 kB / 0.5624 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.3477, allocations: 31.92 kB / 0.5624 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.348, allocations: 185.7 kB / 0.5626 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.3483, allocations: 109.1 kB / 0.5627 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.917e-05/0.3484, allocations: 37.7 kB / 0.5627 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.3484, allocations: 0 / 0.5627 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.3486, allocations: 124.9 kB / 0.5628 GB, free: 1.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.3486, allocations: 0 / 0.5628 GB, free: 1.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004936/0.3491, allocations: 169.5 kB / 0.563 GB, free: 1.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.3492, allocations: 140.4 kB / 0.5631 GB, free: 1.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.3495, allocations: 244.1 kB / 0.5634 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.3496, allocations: 29.7 kB / 0.5634 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.3496, allocations: 120.1 kB / 0.5635 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.3497, allocations: 31.73 kB / 0.5635 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.3497, allocations: 29.72 kB / 0.5636 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3499, allocations: 334.8 kB / 0.5639 GB, free: 216 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.02e-05/0.35, allocations: 27.98 kB / 0.5639 GB, free: 188 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.3502, allocations: 128.5 kB / 0.564 GB, free: 28 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.3504, allocations: 91.42 kB / 0.5641 GB, free: 15.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3504, allocations: 3.938 kB / 0.5641 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002893/0.3507, allocations: 138.2 kB / 0.5643 GB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3507, allocations: 12 kB / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3507, allocations: 0 / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3507, allocations: 0 / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.3508, allocations: 31.98 kB / 0.5643 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3508, allocations: 0 / 0.5643 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.3509, allocations: 15.94 kB / 0.5643 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.351, allocations: 4 kB / 0.5643 GB, free: 15.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.3511, allocations: 138.3 kB / 0.5644 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.3511, allocations: 23.84 kB / 0.5645 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.3515, allocations: 166.7 kB / 0.5646 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3515, allocations: 0 / 0.5646 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3515, allocations: 0 / 0.5646 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3515, allocations: 3.938 kB / 0.5646 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.3518, allocations: 196.4 kB / 0.5648 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3518, allocations: 0 / 0.5648 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.255e-05/0.3518, allocations: 8 kB / 0.5648 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3518, allocations: 0 / 0.5648 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.3518, allocations: 11.98 kB / 0.5648 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3518, allocations: 0 / 0.5648 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3518, allocations: 4 kB / 0.5648 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.3522, allocations: 185.7 kB / 0.565 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.3522, allocations: 27.8 kB / 0.565 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.3523, allocations: 0 / 0.565 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.06e-05/0.3524, allocations: 15.92 kB / 0.5651 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.3524, allocations: 7.984 kB / 0.5651 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.3524, allocations: 8 kB / 0.5651 GB, free: 14.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.3526, allocations: 185.8 kB / 0.5653 GB, free: 14.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3526, allocations: 0 / 0.5653 GB, free: 14.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.3529, allocations: 51.88 kB / 0.5653 GB, free: 14.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002612/0.3555, allocations: 1.161 MB / 0.5664 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000323/0.3559, allocations: 87.83 kB / 0.5665 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3559, allocations: 3.938 kB / 0.5665 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.356, allocations: 35.98 kB / 0.5666 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.3564, allocations: 62.47 kB / 0.5666 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.3592, allocations: 1.908 MB / 0.5685 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.3593, allocations: 107.4 kB / 0.5686 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.3594, allocations: 41.94 kB / 0.5686 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.3595, allocations: 63.34 kB / 0.5687 GB, free: 11.23 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3595, allocations: 4 kB / 0.5687 GB, free: 11.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03578/0.3953, allocations: 6.215 MB / 0.5748 GB, free: 5.078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.66, allocations: 22.3 kB / 0.5748 GB, free: 5.059 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.695333727635443]