Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008996/0.0008997, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.318/1.318, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007227/0.0007227, allocations: 93.52 kB / 271.2 MB, free: 8.246 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.3034/0.3034, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.000364, allocations: 12 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1056, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.001845/0.1075, allocations: 1.361 MB / 492.2 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1086, allocations: 0.7355 MB / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.1086, allocations: 4 kB / 492.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.1089, allocations: 39.88 kB / 493 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.1091, allocations: 51.81 kB / 493 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.1093, allocations: 75.83 kB / 493.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1094, allocations: 79.7 kB / 493.2 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.1095, allocations: 11.98 kB / 493.2 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/0.1096, allocations: 47.77 kB / 493.2 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.1096, allocations: 23.86 kB / 493.3 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1097, allocations: 4 kB / 493.3 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.428e-05/0.1097, allocations: 24 kB / 493.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.1098, allocations: 31.89 kB / 493.3 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.126e-05/0.1099, allocations: 57.45 kB / 493.4 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.11, allocations: 88.03 kB / 493.5 MB, free: 8.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.11, allocations: 4 kB / 493.5 MB, free: 8.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.11, allocations: 0 / 493.5 MB, free: 8.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.11, allocations: 0 / 493.5 MB, free: 8.238 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004786/0.1105, allocations: 410.9 kB / 493.9 MB, free: 7.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1106, allocations: 12.03 kB / 493.9 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.1106, allocations: 12.75 kB / 493.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.1108, allocations: 219.7 kB / 494.1 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1109, allocations: 4.375 kB / 494.1 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.1109, allocations: 8.125 kB / 494.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.111, allocations: 53.66 kB / 494.2 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.111, allocations: 0 / 494.2 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.111, allocations: 0 / 494.2 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.111, allocations: 0 / 494.2 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.503e-05/0.1111, allocations: 15.98 kB / 494.2 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.1113, allocations: 193.6 kB / 494.4 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.1115, allocations: 50.62 kB / 494.4 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.1115, allocations: 24.78 kB / 494.4 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.1115, allocations: 4 kB / 494.4 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.1117, allocations: 67.33 kB / 494.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.1117, allocations: 0 / 494.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002582/0.112, allocations: 105.4 kB / 494.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.112, allocations: 55.41 kB / 494.7 MB, free: 6.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.1123, allocations: 251.7 kB / 494.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.1123, allocations: 29.7 kB / 494.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.1124, allocations: 108.1 kB / 495 MB, free: 6.441 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.1124, allocations: 19.88 kB / 495.1 MB, free: 6.422 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.1124, allocations: 0 / 495.1 MB, free: 6.422 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1125, allocations: 326.8 kB / 495.4 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/0.1126, allocations: 12 kB / 495.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.509e-05/0.1126, allocations: 33.7 kB / 495.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.814e-05/0.1127, allocations: 49.89 kB / 495.5 MB, free: 5.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1127, allocations: 0 / 495.5 MB, free: 5.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001409/0.1129, allocations: 89.38 kB / 495.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1129, allocations: 4 kB / 495.6 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1129, allocations: 0 / 495.6 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1129, allocations: 32 / 495.6 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.113, allocations: 19.98 kB / 495.6 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.113, allocations: 0 / 495.6 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.1131, allocations: 7.938 kB / 495.6 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.1131, allocations: 4 kB / 495.6 MB, free: 5.859 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 (7): * Single equations (assignments): 7 * 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 0.0001003/0.1132, allocations: 137.6 kB / 495.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.1132, allocations: 11.81 kB / 495.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.1133, allocations: 20.98 kB / 495.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1133, allocations: 0 / 495.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1133, allocations: 4 kB / 495.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1133, allocations: 4 kB / 495.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.1134, allocations: 197.6 kB / 496 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1134, allocations: 0 / 496 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.1134, allocations: 4 kB / 496 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1135, allocations: 0 / 496 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1135, allocations: 3.938 kB / 496 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1135, allocations: 0 / 496 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1135, allocations: 0 / 496 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.1137, allocations: 120.9 kB / 496.1 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.1137, allocations: 96.84 kB / 496.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1137, allocations: 0 / 496.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.654e-05/0.1138, allocations: 0 / 496.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.1138, allocations: 7.984 kB / 496.2 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.1139, allocations: 12.12 kB / 496.2 MB, free: 5.156 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.114, allocations: 195 kB / 496.4 MB, free: 4.965 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.114, allocations: 0 / 496.4 MB, free: 4.965 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001987/0.1142, allocations: 23.98 kB / 496.4 MB, free: 4.941 MB / 378.7 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 (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.0008007/0.115, allocations: 410.8 kB / 496.8 MB, free: 4.578 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.1152, allocations: 43.92 kB / 496.9 MB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1152, allocations: 0 / 496.9 MB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.494e-05/0.1152, allocations: 16 kB / 496.9 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.1155, allocations: 31.84 kB / 496.9 MB, free: 4.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004446/0.1159, allocations: 307.5 kB / 497.2 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.1162, allocations: 0.7121 MB / 497.9 MB, free: 3.418 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.1162, allocations: 23.36 kB / 497.9 MB, free: 3.398 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1163, allocations: 4 kB / 498 MB, free: 3.395 MB / 378.7 MB Notification: Performance of Templates: time 0.003114/0.1194, allocations: 1.797 MB / 499.7 MB, free: 1.602 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches