Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",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.001335/0.001335, allocations: 101.2 kB / 16.26 MB, free: 5.93 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.001525/0.001525, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.207/0.207, allocations: 43.52 MB / 313.9 MB, free: 0.5156 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002578/0.002578, allocations: 67.67 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1252, allocations: 57.8 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003483/0.1288, allocations: 1.689 MB / 442.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1301, allocations: 0.8 MB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.929e-05/0.1302, allocations: 0 / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.1305, allocations: 43.83 kB / 443.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.1308, allocations: 59.69 kB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.1311, allocations: 83.77 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.1313, allocations: 91.7 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1314, allocations: 20.16 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.549e-05/0.1315, allocations: 43.78 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.069e-05/0.1316, allocations: 23.86 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1317, allocations: 4 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1318, allocations: 43.92 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.1319, allocations: 27.91 kB / 443.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.1319, allocations: 31.75 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.1322, allocations: 111.7 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1322, allocations: 0 / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1322, allocations: 0 / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1322, allocations: 0 / 443.7 MB, free: 3.707 MB / 318.1 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.0005486/0.1328, allocations: 418.9 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.1328, allocations: 11.89 kB / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.1329, allocations: 38.73 kB / 444.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.1329, allocations: 16.69 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1331, allocations: 214.1 kB / 444.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.1332, allocations: 384 / 444.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1332, allocations: 7.922 kB / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1334, allocations: 57.67 kB / 444.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1334, allocations: 4 kB / 444.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1334, allocations: 0 / 444.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1334, allocations: 4 kB / 444.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.178e-05/0.1335, allocations: 19.98 kB / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.1339, allocations: 284.8 kB / 444.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.1341, allocations: 58.62 kB / 444.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.726e-05/0.1342, allocations: 24.84 kB / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1342, allocations: 3.984 kB / 444.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.1345, allocations: 71.33 kB / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.664e-06/0.1345, allocations: 0 / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000629/0.1351, allocations: 173.2 kB / 445.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.1352, allocations: 55.34 kB / 445.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.1353, allocations: 207.3 kB / 445.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.1354, allocations: 25.7 kB / 445.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.1354, allocations: 108 kB / 445.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.1355, allocations: 23.66 kB / 445.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.1355, allocations: 25.7 kB / 445.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.24e-05/0.1356, allocations: 326.8 kB / 445.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.1357, allocations: 19.98 kB / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.1358, allocations: 37.7 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1359, allocations: 61.64 kB / 445.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1359, allocations: 4 kB / 445.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002385/0.1362, allocations: 93.58 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1362, allocations: 4 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.1362, allocations: 0 / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1362, allocations: 4 kB / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1364, allocations: 23.97 kB / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1364, allocations: 3.984 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.1365, allocations: 7.938 kB / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1365, allocations: 7.938 kB / 446.1 MB, free: 1.066 MB / 318.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 (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.609e-05/0.1366, allocations: 125.8 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.1366, allocations: 15.8 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.1367, allocations: 17.41 kB / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1367, allocations: 0 / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1367, allocations: 0 / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1367, allocations: 7.938 kB / 446.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.1372, allocations: 399.5 kB / 446.6 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1372, allocations: 384 / 446.6 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.1372, allocations: 8 kB / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1373, allocations: 7.938 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1373, allocations: 4 kB / 446.7 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1373, allocations: 192 / 446.7 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1373, allocations: 3.938 kB / 446.7 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.1376, allocations: 204.3 kB / 446.9 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.1376, allocations: 92.91 kB / 447 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.1376, allocations: 3.938 kB / 447 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1378, allocations: 4 kB / 447 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.1378, allocations: 11.98 kB / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.1379, allocations: 4 kB / 447 MB, free: 68 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.138, allocations: 151.9 kB / 447.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1381, allocations: 0 / 447.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004672/0.1385, allocations: 24 kB / 447.2 MB, free: 15.89 MB / 334.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: 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 (8): * Single equations (assignments): 6 * 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.002146/0.1407, allocations: 1.104 MB / 448.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002535/0.141, allocations: 55.92 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.141, allocations: 0 / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.1411, allocations: 35.98 kB / 448.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.1416, allocations: 26.02 kB / 448.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.1441, allocations: 1.663 MB / 450 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.1445, allocations: 0.7041 MB / 450.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.156e-05/0.1446, allocations: 8.891 kB / 450.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.928e-05/0.1447, allocations: 39.36 kB / 450.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1447, allocations: 4 kB / 450.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04078/0.1855, allocations: 3.364 MB / 454.2 MB, free: 8.816 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.285/9.471, allocations: 8 kB / 454.2 MB, free: 8.809 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches