Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001547/0.001547, 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.001655/0.001655, allocations: 215.8 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2438/0.2438, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 71.88 kB / 0.4962 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3404, allocations: 66.04 MB / 0.5607 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003343/0.3438, allocations: 1.67 MB / 0.5623 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.3455, allocations: 0.952 MB / 0.5632 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.767e-05/0.3456, allocations: 0 / 0.5632 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.3459, allocations: 63.73 kB / 0.5633 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.3463, allocations: 107.6 kB / 0.5634 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.3464, allocations: 79.66 kB / 0.5635 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.3466, allocations: 103.7 kB / 0.5636 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.3467, allocations: 4.234 kB / 0.5636 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.788e-05/0.3468, allocations: 55.7 kB / 0.5636 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.3469, allocations: 51.75 kB / 0.5637 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3469, allocations: 4 kB / 0.5637 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.23e-05/0.347, allocations: 35.94 kB / 0.5637 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.347, allocations: 15.92 kB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.3471, allocations: 23.86 kB / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.3473, allocations: 109.4 kB / 0.5638 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3473, allocations: 4 kB / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3473, allocations: 0 / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3473, allocations: 0 / 0.5638 GB, free: 0.9219 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005491/0.3478, allocations: 341.5 kB / 0.5642 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3479, allocations: 12.03 kB / 0.5642 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.3479, allocations: 34.75 kB / 0.5642 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.348, allocations: 12.84 kB / 0.5642 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.3482, allocations: 147 kB / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3482, allocations: 384 / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.3483, allocations: 11.92 kB / 0.5644 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.3484, allocations: 49.69 kB / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3484, allocations: 0 / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3484, allocations: 3.984 kB / 0.5644 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3484, allocations: 4 kB / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.178e-05/0.3485, allocations: 19.92 kB / 0.5645 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.3487, allocations: 152.7 kB / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.3489, allocations: 50.56 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.935e-05/0.3489, allocations: 20.84 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.349, allocations: 4 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.3491, allocations: 63.39 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.3491, allocations: 7.938 kB / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003016/0.3494, allocations: 97.61 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.3495, allocations: 51.41 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.3497, allocations: 198.3 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3497, allocations: 25.7 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.3498, allocations: 104.1 kB / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.3498, allocations: 15.84 kB / 0.5652 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.3498, allocations: 21.7 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.35, allocations: 330.8 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.405e-05/0.35, allocations: 12 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.3501, allocations: 33.64 kB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.3502, allocations: 53.89 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3502, allocations: 3.938 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001701/0.3504, allocations: 85.53 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3504, allocations: 4 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3504, allocations: 7.922 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3504, allocations: 8.031 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.3505, allocations: 8 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3505, allocations: 0 / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.3505, allocations: 8 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.3505, allocations: 0 / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (7): * Single equations (assignments): 7 * 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.0001074/0.3506, allocations: 125.8 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.3507, allocations: 11.95 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.3509, allocations: 102.8 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3509, allocations: 0 / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3509, allocations: 0 / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3509, allocations: 4 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.3511, allocations: 160.6 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3511, allocations: 0 / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.3511, allocations: 11.98 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3511, allocations: 0 / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3511, allocations: 0 / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3511, allocations: 3.984 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.3511, allocations: 3.984 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.3513, allocations: 121.2 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.3513, allocations: 15.91 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.3514, allocations: 4 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.822e-05/0.3514, allocations: 7.984 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.3514, allocations: 4 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.3515, allocations: 4 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.3516, allocations: 148.2 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3516, allocations: 0 / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000235/0.3518, allocations: 23.94 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002027/0.3538, allocations: 0.9873 MB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.354, allocations: 43.98 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.354, allocations: 0 / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.702e-05/0.3541, allocations: 23.92 kB / 0.5675 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.3544, allocations: 30.8 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.3561, allocations: 1.522 MB / 0.569 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.195e-05/0.3562, allocations: 89.31 kB / 0.5691 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.16e-05/0.3563, allocations: 16.55 kB / 0.5691 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.3564, allocations: 35.42 kB / 0.5692 GB, free: 11.24 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3564, allocations: 3.938 kB / 0.5692 GB, free: 11.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.3883, allocations: 3.83 MB / 0.5729 GB, free: 7.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.31, allocations: 10.39 kB / 0.5729 GB, free: 7.453 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.293507867958397]