Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",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.001428/0.001428, allocations: 104 kB / 16.27 MB, free: 6.043 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.001376/0.001377, allocations: 190.8 kB / 17.2 MB, free: 5.688 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.77/1.77, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2361/0.2361, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.002164/0.002164, allocations: 70.92 kB / 382.8 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1323, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.0034/0.1358, allocations: 1.686 MB / 442.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.137, allocations: 0.8039 MB / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.1371, allocations: 0 / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.1375, allocations: 55.75 kB / 443.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.1377, allocations: 55.75 kB / 443.2 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.138, allocations: 91.7 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.1382, allocations: 95.69 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1383, allocations: 20.16 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.179e-05/0.1384, allocations: 39.8 kB / 443.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.1385, allocations: 27.84 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.1385, allocations: 4 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1387, allocations: 39.98 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.771e-05/0.1387, allocations: 23.92 kB / 443.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.445e-05/0.1388, allocations: 39.69 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.139, allocations: 139.5 kB / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.139, allocations: 0 / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.139, allocations: 0 / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.139, allocations: 0 / 443.7 MB, free: 3.68 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.0004982/0.1395, allocations: 438.6 kB / 444.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1396, allocations: 11.89 kB / 444.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.1396, allocations: 38.73 kB / 444.2 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.1397, allocations: 16.75 kB / 444.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.1399, allocations: 215.5 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1399, allocations: 12.38 kB / 444.5 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.1399, allocations: 3.938 kB / 444.5 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.1401, allocations: 57.61 kB / 444.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1401, allocations: 4 kB / 444.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1401, allocations: 0 / 444.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1401, allocations: 4 kB / 444.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.024e-05/0.1402, allocations: 19.98 kB / 444.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.1405, allocations: 296.8 kB / 444.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.1407, allocations: 62.61 kB / 444.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.1407, allocations: 24.84 kB / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.1408, allocations: 3.938 kB / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.1409, allocations: 63.39 kB / 445 MB, free: 2.258 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1409, allocations: 4 kB / 445 MB, free: 2.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005101/0.1414, allocations: 177.1 kB / 445.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.1415, allocations: 55.41 kB / 445.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1417, allocations: 259.7 kB / 445.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.1417, allocations: 25.7 kB / 445.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.1417, allocations: 120 kB / 445.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.1418, allocations: 19.66 kB / 445.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.1418, allocations: 29.7 kB / 445.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.657e-05/0.1419, allocations: 326.8 kB / 446 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.386e-05/0.1419, allocations: 23.98 kB / 446 MB, free: 1.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.448e-05/0.142, allocations: 41.58 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.48e-05/0.1421, allocations: 61.77 kB / 446.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1421, allocations: 0 / 446.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001582/0.1423, allocations: 109.5 kB / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1423, allocations: 8 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1423, allocations: 0 / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1423, allocations: 0 / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.1424, allocations: 15.98 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1424, allocations: 4 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.1425, allocations: 11.84 kB / 446.3 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.1425, allocations: 4 kB / 446.3 MB, free: 0.9102 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 7.401e-05/0.1426, allocations: 141.7 kB / 446.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.1426, allocations: 11.91 kB / 446.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.1427, allocations: 21.39 kB / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1427, allocations: 0 / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1427, allocations: 4 kB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1427, allocations: 3.938 kB / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.143, allocations: 407.2 kB / 446.8 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.143, allocations: 384 / 446.8 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.1431, allocations: 8 kB / 446.8 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1431, allocations: 11.97 kB / 446.9 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.1431, allocations: 0 / 446.9 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.1431, allocations: 4 kB / 446.9 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1431, allocations: 0 / 446.9 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.1433, allocations: 204.3 kB / 447.1 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.1434, allocations: 89 kB / 447.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.1434, allocations: 11.88 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.1435, allocations: 4 kB / 447.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.1435, allocations: 11.98 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.1435, allocations: 4 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.1437, allocations: 195.3 kB / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1437, allocations: 0 / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.144, allocations: 24 kB / 447.4 MB, free: 15.67 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.001515/0.1455, allocations: 1.11 MB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.1457, allocations: 59.97 kB / 448.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.1457, allocations: 0 / 448.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.036e-05/0.1458, allocations: 31.94 kB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1462, allocations: 31.2 kB / 448.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.1483, allocations: 1.799 MB / 450.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.1486, allocations: 0.7234 MB / 451.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.527e-05/0.1487, allocations: 20.81 kB / 451.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/0.1488, allocations: 39.42 kB / 451.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1488, allocations: 0 / 451.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.1707, allocations: 3.631 MB / 454.8 MB, free: 8.16 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/8.011, allocations: 11.81 kB / 454.8 MB, free: 8.148 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches