Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008692/0.0008691, allocations: 174 kB / 16.72 MB, free: 5.078 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.311/1.311, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007417/0.0007421, allocations: 94.36 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.3385/0.3385, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 16 kB / 432 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.106, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.001829/0.1078, allocations: 1.361 MB / 492.2 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1089, allocations: 0.7317 MB / 492.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.109, allocations: 0 / 492.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.1093, allocations: 51.8 kB / 493 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.1095, allocations: 55.81 kB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.1098, allocations: 63.84 kB / 493.1 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.11, allocations: 79.77 kB / 493.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.998e-05/0.1101, allocations: 7.984 kB / 493.2 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.1102, allocations: 39.78 kB / 493.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.622e-05/0.1103, allocations: 31.84 kB / 493.3 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1103, allocations: 0 / 493.3 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1104, allocations: 27.98 kB / 493.3 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.1105, allocations: 31.86 kB / 493.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.06e-05/0.1106, allocations: 61.44 kB / 493.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1108, allocations: 88.03 kB / 493.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1108, allocations: 0 / 493.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.168e-06/0.1108, allocations: 4 kB / 493.5 MB, free: 8.008 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1108, allocations: 0 / 493.5 MB, free: 8.008 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.0006901/0.1115, allocations: 407 kB / 493.9 MB, free: 7.562 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1116, allocations: 8.031 kB / 493.9 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/0.1116, allocations: 16.75 kB / 493.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1119, allocations: 227.7 kB / 494.1 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.112, allocations: 384 / 494.1 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.112, allocations: 8.125 kB / 494.1 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1122, allocations: 49.61 kB / 494.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1122, allocations: 0 / 494.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1122, allocations: 0 / 494.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1122, allocations: 0 / 494.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.701e-05/0.1123, allocations: 19.98 kB / 494.2 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.1126, allocations: 189.7 kB / 494.4 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.1128, allocations: 54.61 kB / 494.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.294e-05/0.1128, allocations: 24.73 kB / 494.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.1129, allocations: 0 / 494.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.1131, allocations: 67.33 kB / 494.5 MB, free: 6.793 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.1131, allocations: 3.938 kB / 494.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002901/0.1134, allocations: 105.5 kB / 494.6 MB, free: 6.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.1135, allocations: 55.34 kB / 494.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.1137, allocations: 255.7 kB / 494.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1137, allocations: 25.7 kB / 494.9 MB, free: 6.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.1138, allocations: 112.1 kB / 495.1 MB, free: 6.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.1139, allocations: 7.906 kB / 495.1 MB, free: 6.199 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.1139, allocations: 0 / 495.1 MB, free: 6.199 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.114, allocations: 334.8 kB / 495.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.707e-05/0.114, allocations: 15.98 kB / 495.4 MB, free: 5.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.299e-05/0.1141, allocations: 25.7 kB / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.994e-05/0.1142, allocations: 37.72 kB / 495.5 MB, free: 5.773 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1142, allocations: 0 / 495.5 MB, free: 5.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001615/0.1144, allocations: 97.34 kB / 495.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1144, allocations: 4.031 kB / 495.6 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1144, allocations: 4 kB / 495.6 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1144, allocations: 4 kB / 495.6 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.1145, allocations: 8 kB / 495.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1145, allocations: 0 / 495.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/0.1146, allocations: 11.94 kB / 495.6 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1146, allocations: 7.922 kB / 495.6 MB, free: 5.633 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 9.996e-05/0.1147, allocations: 133.8 kB / 495.7 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.1147, allocations: 15.81 kB / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.1148, allocations: 17.16 kB / 495.8 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1148, allocations: 4 kB / 495.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1148, allocations: 0 / 495.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1148, allocations: 0 / 495.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.115, allocations: 201.5 kB / 496 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.115, allocations: 320 / 496 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.115, allocations: 7.984 kB / 496 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.115, allocations: 0 / 496 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.115, allocations: 4 kB / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.115, allocations: 4 kB / 496 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.115, allocations: 3.984 kB / 496 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.1152, allocations: 120.8 kB / 496.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.1153, allocations: 92.86 kB / 496.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.1153, allocations: 0 / 496.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.124e-05/0.1153, allocations: 7.984 kB / 496.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.1154, allocations: 4 kB / 496.2 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1154, allocations: 4 kB / 496.2 MB, free: 4.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001526/0.1156, allocations: 199 kB / 496.4 MB, free: 4.734 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1156, allocations: 4 kB / 496.4 MB, free: 4.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002007/0.1158, allocations: 27.94 kB / 496.4 MB, free: 4.703 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.0008208/0.1166, allocations: 401.4 kB / 496.8 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.1168, allocations: 43.92 kB / 496.9 MB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1168, allocations: 0 / 496.9 MB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.482e-05/0.1168, allocations: 19.98 kB / 496.9 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.1171, allocations: 27.98 kB / 496.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.1176, allocations: 299.5 kB / 497.2 MB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.1178, allocations: 0.7199 MB / 497.9 MB, free: 3.188 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.1179, allocations: 15.44 kB / 497.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1179, allocations: 0 / 497.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of Templates: time 0.003357/0.1212, allocations: 1.8 MB / 499.7 MB, free: 1.379 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches