Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009081/0.0009078, allocations: 169.2 kB / 16.72 MB, free: 5.051 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.371/1.371, 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.0006922/0.0006923, allocations: 70.39 kB / 271.2 MB, free: 8.266 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.326/0.326, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003471, allocations: 12 kB / 432 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1034, allocations: 58.86 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002029/0.1055, allocations: 1.61 MB / 492.4 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.1068, allocations: 0.9059 MB / 493.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.28e-05/0.1069, allocations: 3.938 kB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006089/0.1075, allocations: 187.5 kB / 493.5 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.1078, allocations: 119.6 kB / 493.6 MB, free: 8.055 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.1082, allocations: 171.7 kB / 493.8 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.1085, allocations: 223.3 kB / 494 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1086, allocations: 25.67 kB / 494.1 MB, free: 7.645 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.1087, allocations: 95.61 kB / 494.2 MB, free: 7.551 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.1089, allocations: 99.58 kB / 494.2 MB, free: 7.453 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.1089, allocations: 4 kB / 494.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.109, allocations: 39.92 kB / 494.3 MB, free: 7.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.87e-05/0.1091, allocations: 51.81 kB / 494.3 MB, free: 7.359 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.1092, allocations: 93.25 kB / 494.4 MB, free: 7.262 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1094, allocations: 171.9 kB / 494.6 MB, free: 7.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1094, allocations: 4 kB / 494.6 MB, free: 7.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1094, allocations: 0 / 494.6 MB, free: 7.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1094, allocations: 0 / 494.6 MB, free: 7.09 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006787/0.1101, allocations: 0.5153 MB / 495.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1102, allocations: 12.03 kB / 495.1 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.1102, allocations: 24.59 kB / 495.2 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.1106, allocations: 279.6 kB / 495.4 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1106, allocations: 8.375 kB / 495.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1106, allocations: 20.09 kB / 495.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.1108, allocations: 104.1 kB / 495.6 MB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1109, allocations: 0 / 495.6 MB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1109, allocations: 0 / 495.6 MB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1109, allocations: 4 kB / 495.6 MB, free: 6.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.111, allocations: 43.95 kB / 495.6 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.1115, allocations: 377.5 kB / 496 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.1117, allocations: 117.2 kB / 496.1 MB, free: 5.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.71e-05/0.1118, allocations: 45.7 kB / 496.1 MB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.1119, allocations: 4 kB / 496.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.1121, allocations: 109.1 kB / 496.2 MB, free: 5.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.575e-06/0.1121, allocations: 0 / 496.2 MB, free: 5.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004127/0.1125, allocations: 181.6 kB / 496.4 MB, free: 5.066 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.1126, allocations: 114.7 kB / 496.5 MB, free: 4.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.1129, allocations: 331 kB / 496.9 MB, free: 4.602 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1129, allocations: 29.64 kB / 496.9 MB, free: 4.566 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.113, allocations: 144 kB / 497 MB, free: 4.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.1131, allocations: 31.7 kB / 497.1 MB, free: 4.391 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.1131, allocations: 8 kB / 497.1 MB, free: 4.383 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1132, allocations: 338.8 kB / 497.4 MB, free: 4.043 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/0.1133, allocations: 31.98 kB / 497.4 MB, free: 4.012 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.1134, allocations: 76.92 kB / 497.5 MB, free: 3.922 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1136, allocations: 103.5 kB / 497.6 MB, free: 3.809 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1136, allocations: 0 / 497.6 MB, free: 3.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002474/0.1138, allocations: 141.3 kB / 497.7 MB, free: 3.664 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1139, allocations: 8 kB / 497.7 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1139, allocations: 0 / 497.7 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1139, allocations: 0 / 497.7 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.114, allocations: 27.92 kB / 497.8 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.114, allocations: 0 / 497.8 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.783e-05/0.1141, allocations: 23.91 kB / 497.8 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.1142, allocations: 11.92 kB / 497.8 MB, free: 3.594 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001326/0.1143, allocations: 149.8 kB / 498 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.1143, allocations: 23.72 kB / 498 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/0.1144, allocations: 29.73 kB / 498 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.1144, allocations: 0 / 498 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1144, allocations: 0 / 498 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1144, allocations: 0 / 498 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.1146, allocations: 249.4 kB / 498.3 MB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1147, allocations: 4 kB / 498.3 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.1147, allocations: 12.11 kB / 498.3 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1147, allocations: 4 kB / 498.3 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.1147, allocations: 4 kB / 498.3 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.1147, allocations: 4 kB / 498.3 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1147, allocations: 0 / 498.3 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.115, allocations: 181.5 kB / 498.5 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/0.1151, allocations: 112.7 kB / 498.6 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.1152, allocations: 3.984 kB / 498.6 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.638e-05/0.1152, allocations: 15.94 kB / 498.6 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.1153, allocations: 7.984 kB / 498.6 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1153, allocations: 7.938 kB / 498.6 MB, free: 2.695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002258/0.1155, allocations: 249.9 kB / 498.8 MB, free: 2.453 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1156, allocations: 0 / 498.8 MB, free: 2.453 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002436/0.1158, allocations: 32 kB / 498.9 MB, free: 2.422 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008854/0.1167, allocations: 426.3 kB / 499.3 MB, free: 2.043 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.1169, allocations: 87.91 kB / 499.4 MB, free: 1.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.117, allocations: 0 / 499.4 MB, free: 1.957 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.1171, allocations: 51.91 kB / 499.4 MB, free: 1.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.1175, allocations: 60.5 kB / 499.5 MB, free: 1.844 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006237/0.1181, allocations: 437 kB / 499.9 MB, free: 1.379 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.1184, allocations: 0.7518 MB / 0.4889 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.1185, allocations: 19.44 kB / 0.489 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of SimCode: time 4.8e-07/0.1185, allocations: 0 / 0.489 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of Templates: time 0.1804/0.2989, allocations: 3.178 MB / 0.4921 GB, free: 41.98 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches