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.001967/0.001967, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002383/0.002383, allocations: 215.1 kB / 23.74 MB, free: 4.656 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 8 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.2191/0.2191, allocations: 44.92 MB / 358.8 MB, free: 6.246 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.002043/0.002043, allocations: 67.89 kB / 0.4931 GB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3169, allocations: 65.46 MB / 0.5571 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003204/0.3201, allocations: 1.841 MB / 0.5589 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.3229, allocations: 1.812 MB / 0.5606 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.145e-05/0.323, allocations: 3.938 kB / 0.5606 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.3233, allocations: 51.69 kB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.3237, allocations: 135.4 kB / 0.5608 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.324, allocations: 111.6 kB / 0.5609 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.3243, allocations: 211.3 kB / 0.5611 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.515e-05/0.3243, allocations: 9.812 kB / 0.5611 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.3245, allocations: 95.55 kB / 0.5612 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.3247, allocations: 75.69 kB / 0.5613 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.3248, allocations: 8 kB / 0.5613 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.325, allocations: 119.9 kB / 0.5614 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.158e-05/0.325, allocations: 39.83 kB / 0.5615 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.422e-05/0.3251, allocations: 67.55 kB / 0.5615 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.3255, allocations: 224.9 kB / 0.5617 GB, free: 2.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3255, allocations: 0 / 0.5617 GB, free: 2.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3255, allocations: 3.938 kB / 0.5617 GB, free: 2.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.3255, allocations: 4 kB / 0.5618 GB, free: 2.902 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.0006968/0.3262, allocations: 428.9 kB / 0.5622 GB, free: 2.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3262, allocations: 12.03 kB / 0.5622 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.3263, allocations: 34.75 kB / 0.5622 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.3263, allocations: 16.84 kB / 0.5622 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.3267, allocations: 198.1 kB / 0.5624 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.3267, allocations: 4.375 kB / 0.5624 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.3267, allocations: 11.94 kB / 0.5624 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.327, allocations: 109 kB / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.327, allocations: 0 / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.327, allocations: 0 / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.327, allocations: 4 kB / 0.5625 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.3271, allocations: 27.97 kB / 0.5626 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.3273, allocations: 193.6 kB / 0.5627 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.3276, allocations: 109.1 kB / 0.5629 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.704e-05/0.3277, allocations: 41.62 kB / 0.5629 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.3277, allocations: 8 kB / 0.5629 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.328, allocations: 105 kB / 0.563 GB, free: 1.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.328, allocations: 0 / 0.563 GB, free: 1.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004617/0.3284, allocations: 165.4 kB / 0.5632 GB, free: 1.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.3285, allocations: 144.5 kB / 0.5633 GB, free: 1.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.3288, allocations: 228.2 kB / 0.5635 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.3288, allocations: 33.7 kB / 0.5635 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.3289, allocations: 120.1 kB / 0.5637 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.329, allocations: 27.75 kB / 0.5637 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/0.329, allocations: 29.7 kB / 0.5637 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3292, allocations: 326.8 kB / 0.564 GB, free: 340 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-05/0.3293, allocations: 27.98 kB / 0.5641 GB, free: 312 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.3294, allocations: 81.56 kB / 0.5641 GB, free: 212 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.3296, allocations: 87.42 kB / 0.5642 GB, free: 112 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3296, allocations: 3.938 kB / 0.5642 GB, free: 108 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003203/0.3299, allocations: 141.5 kB / 0.5644 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3299, allocations: 8 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3299, allocations: 0 / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3299, allocations: 0 / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.3301, allocations: 23.98 kB / 0.5644 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3301, allocations: 0 / 0.5644 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-05/0.3302, allocations: 11.95 kB / 0.5644 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.3302, allocations: 7.938 kB / 0.5644 GB, free: 15.91 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.0001284/0.3303, allocations: 146.3 kB / 0.5645 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.3303, allocations: 19.91 kB / 0.5646 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.3307, allocations: 142.7 kB / 0.5647 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3307, allocations: 4 kB / 0.5647 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3307, allocations: 0 / 0.5647 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3307, allocations: 3.984 kB / 0.5647 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.3309, allocations: 208.7 kB / 0.5649 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3309, allocations: 4 kB / 0.5649 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.3309, allocations: 12 kB / 0.5649 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3309, allocations: 0 / 0.5649 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3309, allocations: 3.984 kB / 0.5649 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3309, allocations: 4 kB / 0.5649 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3309, allocations: 3.938 kB / 0.5649 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.3313, allocations: 169.7 kB / 0.5651 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.3313, allocations: 15.91 kB / 0.5651 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.3313, allocations: 7.984 kB / 0.5651 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-05/0.3314, allocations: 8 kB / 0.5651 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.3314, allocations: 11.92 kB / 0.5651 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.3315, allocations: 4 kB / 0.5651 GB, free: 15.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.3316, allocations: 177.8 kB / 0.5653 GB, free: 14.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3316, allocations: 0 / 0.5653 GB, free: 14.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.3319, allocations: 55.88 kB / 0.5654 GB, free: 14.84 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 (10): * Single equations (assignments): 6 * 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.002289/0.3342, allocations: 1.117 MB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002613/0.3345, allocations: 75.91 kB / 0.5665 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3345, allocations: 0 / 0.5665 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3346, allocations: 35.92 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.335, allocations: 54.75 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.3374, allocations: 1.902 MB / 0.5685 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.3377, allocations: 0.7164 MB / 0.5692 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.3378, allocations: 33.61 kB / 0.5692 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.3379, allocations: 55.41 kB / 0.5692 GB, free: 10.89 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3379, allocations: 0 / 0.5692 GB, free: 10.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.3716, allocations: 5.511 MB / 0.5746 GB, free: 5.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.77, allocations: 4 kB / 0.5746 GB, free: 5.43 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.759401676012203]