Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.0008944/0.0008944, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009541/0.0009541, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9006/0.9006, allocations: 158.6 MB / 185 MB, free: 3.016 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.139/0.139, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.392e-05, allocations: 5.938 kB / 406.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002317/0.002341, allocations: 1.68 MB / 408.6 MB, free: 464 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009347/0.003275, allocations: 0.7765 MB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.14e-05/0.003347, allocations: 4 kB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.00367, allocations: 51.72 kB / 409.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.00387, allocations: 67.62 kB / 409.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.004069, allocations: 83.7 kB / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.004201, allocations: 99.69 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.09e-05/0.004282, allocations: 240 / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.401e-05/0.004356, allocations: 59.77 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.328e-05/0.004419, allocations: 27.91 kB / 409.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.004436, allocations: 4 kB / 409.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.795e-05/0.004504, allocations: 39.94 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.004554, allocations: 27.91 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.004592, allocations: 23.86 kB / 409.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.004749, allocations: 115.6 kB / 410 MB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.004751, allocations: 0 / 410 MB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004752, allocations: 3.938 kB / 410 MB, free: 15.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.004756, allocations: 0 / 410 MB, free: 15.07 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003738/0.00513, allocations: 349.5 kB / 410.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.005166, allocations: 15.95 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.973e-05/0.005196, allocations: 38.75 kB / 410.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.005225, allocations: 12.84 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.005405, allocations: 153.5 kB / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.005415, allocations: 384 / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.005433, allocations: 8.375 kB / 410.5 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.005545, allocations: 53.98 kB / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.005559, allocations: 7.984 kB / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.005568, allocations: 0 / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.005573, allocations: 4 kB / 410.6 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.51e-05/0.005628, allocations: 23.92 kB / 410.6 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.005908, allocations: 260 kB / 410.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.006017, allocations: 58.69 kB / 410.9 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.006052, allocations: 20.84 kB / 411 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.006065, allocations: 0 / 411 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.006178, allocations: 71.33 kB / 411 MB, free: 13.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.006179, allocations: 0 / 411 MB, free: 13.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003792/0.006558, allocations: 197.2 kB / 411.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.006588, allocations: 55.41 kB / 411.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.006726, allocations: 222.8 kB / 411.5 MB, free: 13.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.006739, allocations: 29.7 kB / 411.5 MB, free: 13.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.006783, allocations: 112.1 kB / 411.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.006806, allocations: 23.8 kB / 411.7 MB, free: 13.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.006836, allocations: 25.72 kB / 411.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.006911, allocations: 330.8 kB / 412 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/0.006943, allocations: 20 kB / 412 MB, free: 12.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.195e-05/0.006985, allocations: 37.7 kB / 412.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.889e-05/0.007054, allocations: 61.64 kB / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.007055, allocations: 0 / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001132/0.007168, allocations: 113.6 kB / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.00718, allocations: 8 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.007184, allocations: 0 / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.007195, allocations: 0 / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.007253, allocations: 20.11 kB / 412.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.007258, allocations: 4 kB / 412.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.007287, allocations: 11.88 kB / 412.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.007293, allocations: 4 kB / 412.3 MB, free: 12.55 MB / 394.7 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 (10): * Single equations (assignments): 10 * 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 8.17e-05/0.007375, allocations: 133.8 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.007387, allocations: 11.95 kB / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.007547, allocations: 123.1 kB / 412.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.007549, allocations: 0 / 412.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.007553, allocations: 4 kB / 412.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.007556, allocations: 0 / 412.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.00783, allocations: 374.3 kB / 412.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.007832, allocations: 3.984 kB / 412.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.007851, allocations: 12.38 kB / 412.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.007854, allocations: 4 kB / 412.9 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.007861, allocations: 4 kB / 412.9 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.007862, allocations: 4.031 kB / 412.9 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.007864, allocations: 7.875 kB / 412.9 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.007992, allocations: 212.3 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.008004, allocations: 11.89 kB / 413.2 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.008019, allocations: 4 kB / 413.2 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.008098, allocations: 4 kB / 413.2 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.008138, allocations: 11.92 kB / 413.2 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.008154, allocations: 4 kB / 413.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.008261, allocations: 172.3 kB / 413.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008261, allocations: 0 / 413.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001778/0.008439, allocations: 31.94 kB / 413.4 MB, free: 11.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.0009746/0.009414, allocations: 1.129 MB / 414.5 MB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.009538, allocations: 63.91 kB / 414.6 MB, free: 10.17 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.00954, allocations: 0 / 414.6 MB, free: 10.17 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.147e-05/0.009581, allocations: 31.92 kB / 414.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.009791, allocations: 32.22 kB / 414.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.01097, allocations: 1.732 MB / 416.4 MB, free: 8.285 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.66e-05/0.01104, allocations: 104.9 kB / 416.5 MB, free: 8.164 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.596e-05/0.01108, allocations: 12.48 kB / 416.5 MB, free: 8.148 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.01113, allocations: 40.48 kB / 416.5 MB, free: 8.109 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01113, allocations: 0 / 416.5 MB, free: 8.109 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.02644, allocations: 4.371 MB / 420.9 MB, free: 3.602 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.517/6.544, allocations: 7.844 kB / 420.9 MB, free: 3.594 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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: 8.603917754255235]