Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",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.001311/0.001311, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001559/0.001559, allocations: 194 kB / 18.12 MB, free: 5.363 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.39/1.39, allocations: 222.9 MB / 241.8 MB, free: 15.58 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.2787/0.2787, allocations: 44.17 MB / 336.1 MB, free: 3.047 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 68.48 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1313, allocations: 60.82 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003485/0.1348, allocations: 1.713 MB / 470.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1364, allocations: 0.8498 MB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.353e-05/0.1365, allocations: 0 / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.1369, allocations: 47.8 kB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.1372, allocations: 59.81 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.1375, allocations: 91.2 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1377, allocations: 91.7 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.1377, allocations: 7.984 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1378, allocations: 43.72 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.254e-05/0.1379, allocations: 23.86 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.138, allocations: 7.938 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1381, allocations: 35.97 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.277e-05/0.1381, allocations: 23.92 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.522e-05/0.1382, allocations: 35.69 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.1384, allocations: 119.8 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.1384, allocations: 4 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1384, allocations: 0 / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1385, allocations: 0 / 471.8 MB, free: 11.6 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005761/0.139, allocations: 422.8 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.1391, allocations: 12.03 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.1391, allocations: 38.73 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.1392, allocations: 12.75 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1394, allocations: 216 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1395, allocations: 384 / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.1395, allocations: 7.922 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1396, allocations: 53.62 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1397, allocations: 0 / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1397, allocations: 0 / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1397, allocations: 0 / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.036e-05/0.1398, allocations: 11.98 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.14, allocations: 189.7 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.1402, allocations: 62.56 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.1402, allocations: 20.84 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.1403, allocations: 0 / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.1405, allocations: 67.27 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.106e-06/0.1405, allocations: 7.984 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003036/0.1408, allocations: 97.48 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.1408, allocations: 51.41 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.1411, allocations: 262.9 kB / 473.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1411, allocations: 29.7 kB / 473.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.1412, allocations: 112.1 kB / 473.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.1412, allocations: 15.83 kB / 473.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.1413, allocations: 17.72 kB / 473.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1414, allocations: 334.8 kB / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.723e-05/0.1415, allocations: 15.98 kB / 473.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.361e-05/0.1416, allocations: 25.72 kB / 473.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1417, allocations: 41.7 kB / 473.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1417, allocations: 4.188 kB / 473.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001728/0.1419, allocations: 93.47 kB / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1419, allocations: 7.984 kB / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1419, allocations: 0 / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1419, allocations: 4 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.142, allocations: 11.94 kB / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.142, allocations: 160 / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/0.1421, allocations: 15.84 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1421, allocations: 0 / 474 MB, free: 9.133 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 (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.0001181/0.1422, allocations: 137.7 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.1422, allocations: 15.89 kB / 474.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.1423, allocations: 20.98 kB / 474.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1423, allocations: 0 / 474.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1423, allocations: 0 / 474.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1423, allocations: 4 kB / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.1425, allocations: 201.5 kB / 474.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1425, allocations: 0 / 474.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.341e-05/0.1425, allocations: 4 kB / 474.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1425, allocations: 0 / 474.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1425, allocations: 3.984 kB / 474.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1425, allocations: 0 / 474.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1426, allocations: 4 kB / 474.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.1428, allocations: 112.9 kB / 474.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.1428, allocations: 96.84 kB / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.1428, allocations: 3.938 kB / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.636e-05/0.1429, allocations: 0 / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.1429, allocations: 7.984 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.1429, allocations: 0 / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.1431, allocations: 204.2 kB / 474.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1431, allocations: 0 / 474.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.1434, allocations: 24 kB / 474.8 MB, free: 8.211 MB / 350.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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001374/0.1447, allocations: 0.9483 MB / 475.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.1449, allocations: 39.92 kB / 475.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1449, allocations: 4 kB / 475.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.302e-05/0.145, allocations: 15.98 kB / 475.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.1453, allocations: 33.8 kB / 475.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.1472, allocations: 1.672 MB / 477.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1475, allocations: 0.7199 MB / 478.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.177e-05/0.1476, allocations: 12.55 kB / 478.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.1476, allocations: 39.42 kB / 478.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1476, allocations: 0 / 478.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.1627, allocations: 3.155 MB / 481.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.1629, allocations: 245.8 kB / 481.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/1.983, allocations: 0 / 481.7 MB, free: 1.441 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches