Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009162/0.0009164, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006865/0.0006865, allocations: 101 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2845/0.2845, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003552, allocations: 12 kB / 432 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1041, allocations: 58.86 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.001851/0.106, allocations: 1.398 MB / 492.2 MB, free: 9.488 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.107, allocations: 0.7461 MB / 493 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.1071, allocations: 4 kB / 493 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.1074, allocations: 47.86 kB / 493 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.1075, allocations: 43.83 kB / 493.1 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.1078, allocations: 79.83 kB / 493.1 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.1079, allocations: 79.7 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.982e-05/0.108, allocations: 16.22 kB / 493.2 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.057e-05/0.1081, allocations: 39.78 kB / 493.3 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.338e-05/0.1081, allocations: 31.84 kB / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1082, allocations: 4 kB / 493.3 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-05/0.1082, allocations: 31.98 kB / 493.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.1083, allocations: 19.92 kB / 493.4 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.1084, allocations: 61.38 kB / 493.4 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.1085, allocations: 92.09 kB / 493.5 MB, free: 8.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1085, allocations: 8 kB / 493.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1085, allocations: 0 / 493.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1085, allocations: 0 / 493.5 MB, free: 8.18 MB / 378.7 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.0004356/0.109, allocations: 399.1 kB / 493.9 MB, free: 7.742 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.109, allocations: 12.03 kB / 493.9 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.109, allocations: 12.75 kB / 493.9 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.1092, allocations: 220 kB / 494.2 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1093, allocations: 4.375 kB / 494.2 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1093, allocations: 8.031 kB / 494.2 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1094, allocations: 57.67 kB / 494.2 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1095, allocations: 3.938 kB / 494.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1095, allocations: 0 / 494.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1095, allocations: 4 kB / 494.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.11e-05/0.1096, allocations: 15.98 kB / 494.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.1099, allocations: 292.8 kB / 494.5 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.11, allocations: 62.67 kB / 494.6 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.1101, allocations: 16.86 kB / 494.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1101, allocations: 3.984 kB / 494.6 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.1103, allocations: 75.33 kB / 494.7 MB, free: 6.852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1103, allocations: 0 / 494.7 MB, free: 6.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004659/0.1108, allocations: 177.2 kB / 494.9 MB, free: 6.672 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.1108, allocations: 59.33 kB / 494.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.111, allocations: 218.6 kB / 495.1 MB, free: 6.375 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.111, allocations: 29.69 kB / 495.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.1111, allocations: 104.1 kB / 495.3 MB, free: 6.234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.1111, allocations: 27.64 kB / 495.3 MB, free: 6.207 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/0.1111, allocations: 4 kB / 495.3 MB, free: 6.203 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.1112, allocations: 326.8 kB / 495.6 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.391e-05/0.1113, allocations: 27.98 kB / 495.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.763e-05/0.1113, allocations: 33.7 kB / 495.7 MB, free: 5.809 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.858e-05/0.1115, allocations: 49.72 kB / 495.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1115, allocations: 3.938 kB / 495.7 MB, free: 5.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001732/0.1116, allocations: 105.6 kB / 495.8 MB, free: 5.641 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1117, allocations: 7.594 kB / 495.8 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1117, allocations: 4.031 kB / 495.8 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1117, allocations: 4 kB / 495.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.1118, allocations: 19.92 kB / 495.9 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1118, allocations: 0 / 495.9 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.1118, allocations: 7.938 kB / 495.9 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1119, allocations: 0 / 495.9 MB, free: 5.602 MB / 378.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.351e-05/0.112, allocations: 133.5 kB / 496 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.112, allocations: 15.81 kB / 496 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.112, allocations: 17.41 kB / 496 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.112, allocations: 4 kB / 496 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.112, allocations: 7.969 kB / 496 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1121, allocations: 3.938 kB / 496 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.1125, allocations: 395.3 kB / 496.4 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1125, allocations: 0 / 496.4 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.1125, allocations: 8 kB / 496.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1125, allocations: 4 kB / 496.4 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1125, allocations: 7.922 kB / 496.5 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1126, allocations: 4.031 kB / 496.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1126, allocations: 0 / 496.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.1128, allocations: 212.3 kB / 496.7 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.1128, allocations: 88.92 kB / 496.7 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.1129, allocations: 11.92 kB / 496.8 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.1129, allocations: 4 kB / 496.8 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.113, allocations: 8 kB / 496.8 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.113, allocations: 8.547 kB / 496.8 MB, free: 4.582 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001282/0.1131, allocations: 168.3 kB / 496.9 MB, free: 4.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1131, allocations: 7.938 kB / 497 MB, free: 4.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.1134, allocations: 27.98 kB / 497 MB, free: 4.383 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008662/0.1142, allocations: 456.7 kB / 497.4 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.1144, allocations: 55.98 kB / 497.5 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1144, allocations: 0 / 497.5 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.579e-05/0.1145, allocations: 27.92 kB / 497.5 MB, free: 3.891 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.1148, allocations: 27.97 kB / 497.5 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.1152, allocations: 303.9 kB / 497.8 MB, free: 3.531 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.1155, allocations: 0.7083 MB / 498.5 MB, free: 2.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.1155, allocations: 23.42 kB / 498.6 MB, free: 2.777 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1156, allocations: 0 / 498.6 MB, free: 2.777 MB / 378.7 MB Notification: Performance of Templates: time 0.003115/0.1187, allocations: 1.944 MB / 0.4888 GB, free: 0.8398 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches