Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001575, allocations: 104.1 kB / 17.64 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2157/0.2157, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 64.48 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1119, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002979/0.1149, allocations: 1.726 MB / 471.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1165, allocations: 0.8769 MB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.415e-05/0.1167, allocations: 4 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.1171, allocations: 107.6 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.1174, allocations: 79.72 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.1178, allocations: 123.2 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.118, allocations: 127.7 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.1181, allocations: 16 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1183, allocations: 59.75 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1184, allocations: 67.69 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.1184, allocations: 4 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.1186, allocations: 59.98 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.573e-05/0.1187, allocations: 31.91 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.238e-05/0.1187, allocations: 43.67 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.119, allocations: 147.8 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.119, allocations: 0 / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.119, allocations: 4 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.119, allocations: 0 / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000706/0.1198, allocations: 450.6 kB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1198, allocations: 12.03 kB / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.1199, allocations: 30.75 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.1199, allocations: 16.75 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.1202, allocations: 227.8 kB / 473.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1202, allocations: 8.359 kB / 473.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.1202, allocations: 11.94 kB / 473.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1204, allocations: 61.61 kB / 473.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1204, allocations: 0 / 473.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1204, allocations: 11.98 kB / 473.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1204, allocations: 0 / 473.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.566e-05/0.1205, allocations: 27.98 kB / 473.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.1209, allocations: 316.7 kB / 474 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.1212, allocations: 74.58 kB / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.246e-05/0.1212, allocations: 28.84 kB / 474.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1213, allocations: 8.141 kB / 474.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.1215, allocations: 71.38 kB / 474.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.1215, allocations: 0 / 474.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008041/0.1223, allocations: 280.8 kB / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.1223, allocations: 63.28 kB / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.1226, allocations: 243.2 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.1226, allocations: 33.7 kB / 474.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.1227, allocations: 112.1 kB / 474.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/0.1228, allocations: 43.38 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.902e-05/0.1229, allocations: 25.72 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.123, allocations: 334.8 kB / 475.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.811e-05/0.1231, allocations: 31.98 kB / 475.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.683e-05/0.1232, allocations: 49.69 kB / 475.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.1234, allocations: 85.7 kB / 475.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1234, allocations: 0 / 475.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002834/0.1237, allocations: 145.4 kB / 475.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1237, allocations: 12.03 kB / 475.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1237, allocations: 0 / 475.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1237, allocations: 0 / 475.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.54e-05/0.1238, allocations: 31.86 kB / 475.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.1238, allocations: 0 / 475.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.1239, allocations: 4 kB / 475.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.1239, allocations: 8 kB / 475.6 MB, free: 7.734 MB / 350.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 (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.0001061/0.124, allocations: 141.8 kB / 475.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.1241, allocations: 11.81 kB / 475.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.1241, allocations: 25.39 kB / 475.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1241, allocations: 7.938 kB / 475.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1241, allocations: 0 / 475.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1241, allocations: 0 / 475.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.1247, allocations: 476 kB / 476.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1247, allocations: 0 / 476.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.1247, allocations: 12.06 kB / 476.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.1247, allocations: 7.938 kB / 476.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1248, allocations: 7.984 kB / 476.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1248, allocations: 0 / 476.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1248, allocations: 4 kB / 476.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.125, allocations: 244.9 kB / 476.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.1251, allocations: 92.92 kB / 476.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.1251, allocations: 8 kB / 476.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.1252, allocations: 0 / 476.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.1253, allocations: 15.92 kB / 476.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.1253, allocations: 8 kB / 476.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.1254, allocations: 188.3 kB / 476.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1254, allocations: 3.938 kB / 476.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1257, allocations: 31.98 kB / 476.9 MB, free: 6.363 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001684/0.1274, allocations: 1.197 MB / 478.1 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.1277, allocations: 91.91 kB / 478.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1277, allocations: 4.062 kB / 478.2 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.534e-05/0.1278, allocations: 47.91 kB / 478.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1282, allocations: 32.14 kB / 478.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.1304, allocations: 1.913 MB / 480.2 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.1307, allocations: 0.7279 MB / 480.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.329e-05/0.1308, allocations: 25.05 kB / 480.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.453e-05/0.1309, allocations: 47.42 kB / 481 MB, free: 2.332 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1309, allocations: 0 / 481 MB, free: 2.332 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.1533, allocations: 4.032 MB / 485 MB, free: 14.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.564/7.717, allocations: 0 / 485 MB, free: 14.38 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,d2_t_new.y Variables in the result:d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),der(der(t_new.timeScaled)),der(t_new.timeScaled),t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time