Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.0008713/0.0008713, allocations: 80.53 kB / 19.93 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.0009884/0.0009884, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.8061/0.8061, allocations: 158.6 MB / 185 MB, free: 3.035 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.1271/0.1271, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 406.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.646e-05, allocations: 5.938 kB / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.001983/0.002, allocations: 1.649 MB / 408.6 MB, free: 11.78 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008529/0.002852, allocations: 0.749 MB / 409.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.002911, allocations: 4 kB / 409.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.003188, allocations: 67.72 kB / 409.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.003376, allocations: 75.67 kB / 409.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.003543, allocations: 79.7 kB / 409.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.003683, allocations: 103.6 kB / 409.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.003722, allocations: 4 kB / 409.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.817e-05/0.0038, allocations: 55.81 kB / 409.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.968e-05/0.00388, allocations: 39.89 kB / 409.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.003897, allocations: 4 kB / 409.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.583e-05/0.003963, allocations: 35.86 kB / 409.8 MB, free: 10.56 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.004009, allocations: 19.92 kB / 409.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.004043, allocations: 23.92 kB / 409.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.004178, allocations: 91.7 kB / 409.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.00418, allocations: 0 / 409.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004181, allocations: 0 / 409.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.004185, allocations: 3.938 kB / 409.9 MB, free: 10.43 MB / 346.7 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.0003542/0.004539, allocations: 337.6 kB / 410.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.004572, allocations: 12.03 kB / 410.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.451e-05/0.004596, allocations: 30.75 kB / 410.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.004622, allocations: 8.891 kB / 410.3 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.004782, allocations: 147.7 kB / 410.4 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.004792, allocations: 12.38 kB / 410.5 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.0048, allocations: 4.312 kB / 410.5 MB, free: 9.824 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.004907, allocations: 57.97 kB / 410.5 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.004913, allocations: 0 / 410.5 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.00492, allocations: 0 / 410.5 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.004923, allocations: 0 / 410.5 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.21e-05/0.004965, allocations: 15.98 kB / 410.5 MB, free: 9.746 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.005091, allocations: 148.8 kB / 410.7 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.776e-05/0.005189, allocations: 54.55 kB / 410.7 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.005218, allocations: 20.86 kB / 410.7 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.005229, allocations: 0 / 410.7 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.005334, allocations: 75.31 kB / 410.8 MB, free: 9.387 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 6.11e-07/0.005335, allocations: 0 / 410.8 MB, free: 9.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001783/0.005513, allocations: 97.81 kB / 410.9 MB, free: 9.285 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.005541, allocations: 55.34 kB / 411 MB, free: 9.219 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.00565, allocations: 190.2 kB / 411.2 MB, free: 9.023 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.005659, allocations: 25.7 kB / 411.2 MB, free: 8.992 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.005696, allocations: 104.1 kB / 411.3 MB, free: 8.887 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.005718, allocations: 19.84 kB / 411.3 MB, free: 8.867 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.005744, allocations: 17.72 kB / 411.3 MB, free: 8.844 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.394e-05/0.005818, allocations: 322.8 kB / 411.6 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.765e-05/0.005886, allocations: 15.98 kB / 411.6 MB, free: 8.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.253e-05/0.005928, allocations: 33.7 kB / 411.7 MB, free: 8.465 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.099e-05/0.005989, allocations: 45.7 kB / 411.7 MB, free: 8.414 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.005991, allocations: 0 / 411.7 MB, free: 8.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.517e-05/0.006087, allocations: 93.41 kB / 411.8 MB, free: 8.316 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.006098, allocations: 10.69 kB / 411.8 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.006103, allocations: 0 / 411.8 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.006113, allocations: 0 / 411.8 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.29e-05/0.006166, allocations: 15.98 kB / 411.8 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.006171, allocations: 0 / 411.8 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.006198, allocations: 3.938 kB / 411.8 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.006203, allocations: 8 kB / 411.9 MB, free: 8.281 MB / 346.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 (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 6.476e-05/0.006268, allocations: 121.8 kB / 412 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.00628, allocations: 11.89 kB / 412 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.006406, allocations: 90.14 kB / 412.1 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006407, allocations: 7.938 kB / 412.1 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.006411, allocations: 4 kB / 412.1 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.006415, allocations: 3.984 kB / 412.1 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.561e-05/0.006501, allocations: 148.7 kB / 412.2 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.006501, allocations: 0 / 412.2 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.374e-05/0.006515, allocations: 4 kB / 412.2 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.006518, allocations: 3.938 kB / 412.2 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.006523, allocations: 4.125 kB / 412.2 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.006525, allocations: 8 kB / 412.3 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.006526, allocations: 0 / 412.3 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.134e-05/0.006617, allocations: 117 kB / 412.4 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.006632, allocations: 19.88 kB / 412.4 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.006644, allocations: 0 / 412.4 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.783e-05/0.006662, allocations: 4 kB / 412.4 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.006685, allocations: 3.984 kB / 412.4 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.0067, allocations: 4 kB / 412.4 MB, free: 7.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.148e-05/0.006772, allocations: 147.2 kB / 412.5 MB, free: 7.516 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006772, allocations: 0 / 412.5 MB, free: 7.516 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001397/0.006912, allocations: 19.92 kB / 412.6 MB, free: 7.496 MB / 346.7 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.0007976/0.007709, allocations: 0.9955 MB / 413.6 MB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.611e-05/0.007805, allocations: 35.98 kB / 413.6 MB, free: 6.488 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.007807, allocations: 3.938 kB / 413.6 MB, free: 6.484 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.229e-05/0.007839, allocations: 19.98 kB / 413.6 MB, free: 6.465 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.007999, allocations: 31.95 kB / 413.6 MB, free: 6.434 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.009001, allocations: 1.491 MB / 415.1 MB, free: 4.855 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.804e-05/0.009049, allocations: 95.17 kB / 415.2 MB, free: 4.742 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.228e-05/0.009081, allocations: 8.5 kB / 415.2 MB, free: 4.734 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.009122, allocations: 32.48 kB / 415.3 MB, free: 4.699 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.009122, allocations: 4 kB / 415.3 MB, free: 4.695 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.023, allocations: 3.901 MB / 419.2 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.56/6.583, allocations: 11.8 kB / 419.2 MB, free: 0.6758 MB / 346.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.396319786086679]