Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: 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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001607/0.001607, allocations: 191 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2016/0.2016, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.27 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.09922, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003143/0.1024, allocations: 1.934 MB / 472.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.1041, allocations: 1.052 MB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1042, allocations: 3.938 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000657/0.1049, allocations: 203.4 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.1053, allocations: 159.2 kB / 474.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.1058, allocations: 222.6 kB / 474.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.1061, allocations: 255.3 kB / 474.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.1062, allocations: 21.67 kB / 474.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1063, allocations: 107.5 kB / 474.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1064, allocations: 103.6 kB / 474.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.1065, allocations: 8 kB / 474.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1066, allocations: 63.89 kB / 474.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.1067, allocations: 51.84 kB / 474.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.536e-05/0.1068, allocations: 83.47 kB / 475 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.1071, allocations: 235.2 kB / 475.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1071, allocations: 0 / 475.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1071, allocations: 0 / 475.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1071, allocations: 0 / 475.2 MB, free: 9.16 MB / 350.1 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.0007514/0.1078, allocations: 0.5428 MB / 475.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1079, allocations: 15.97 kB / 475.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.12e-05/0.108, allocations: 20.66 kB / 475.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.1083, allocations: 291.5 kB / 476 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1084, allocations: 4.375 kB / 476.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.1084, allocations: 8.125 kB / 476.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.1086, allocations: 104.2 kB / 476.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1087, allocations: 0 / 476.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1087, allocations: 3.938 kB / 476.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.1087, allocations: 4 kB / 476.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.1088, allocations: 47.91 kB / 476.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.1093, allocations: 377.5 kB / 476.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.1096, allocations: 121.2 kB / 476.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.665e-05/0.1097, allocations: 45.69 kB / 476.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1098, allocations: 4 kB / 476.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.11, allocations: 109 kB / 476.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.11, allocations: 4 kB / 476.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000432/0.1104, allocations: 177.3 kB / 477 MB, free: 7.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.1105, allocations: 106.8 kB / 477.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.1108, allocations: 335 kB / 477.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1109, allocations: 25.7 kB / 477.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/0.111, allocations: 144 kB / 477.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.111, allocations: 23.66 kB / 477.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.1111, allocations: 37.7 kB / 477.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1112, allocations: 342.8 kB / 478 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.06e-05/0.1113, allocations: 27.98 kB / 478.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.1114, allocations: 81.06 kB / 478.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.1116, allocations: 91.39 kB / 478.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1116, allocations: 4 kB / 478.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002573/0.1119, allocations: 145.8 kB / 478.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1119, allocations: 8 kB / 478.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.1119, allocations: 128 / 478.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1119, allocations: 4 kB / 478.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.112, allocations: 27.92 kB / 478.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.112, allocations: 4.062 kB / 478.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.408e-05/0.1121, allocations: 15.89 kB / 478.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.1121, allocations: 11.94 kB / 478.4 MB, free: 5.598 MB / 350.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.1123, allocations: 153.7 kB / 478.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.1123, allocations: 23.72 kB / 478.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.252e-05/0.1124, allocations: 25.73 kB / 478.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1124, allocations: 4 kB / 478.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1124, allocations: 0 / 478.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1124, allocations: 4 kB / 478.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.1126, allocations: 257.4 kB / 478.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1126, allocations: 4 kB / 478.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.1126, allocations: 4 kB / 478.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1127, allocations: 4 kB / 478.9 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1127, allocations: 3.984 kB / 478.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1127, allocations: 0 / 478.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1127, allocations: 4 kB / 478.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.113, allocations: 185.5 kB / 479.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.113, allocations: 96.81 kB / 479.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.1131, allocations: 4 kB / 479.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.1132, allocations: 8 kB / 479.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.1132, allocations: 11.92 kB / 479.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1132, allocations: 7.938 kB / 479.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000217/0.1135, allocations: 249.9 kB / 479.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1135, allocations: 4 kB / 479.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.1137, allocations: 36 kB / 479.5 MB, free: 4.426 MB / 350.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: 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 (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.0009551/0.1147, allocations: 420.7 kB / 479.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.1149, allocations: 87.91 kB / 480 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1149, allocations: 0 / 480 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.1151, allocations: 51.91 kB / 480.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1154, allocations: 69.41 kB / 480.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.116, allocations: 376.5 kB / 480.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.1163, allocations: 0.7514 MB / 481.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.918e-05/0.1164, allocations: 41.91 kB / 481.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.1164, allocations: 27.42 kB / 481.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1164, allocations: 0 / 481.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of Templates: time 0.005804/0.1222, allocations: 2.948 MB / 484.3 MB, free: 15.8 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches