Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_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.001367/0.001367, allocations: 105.3 kB / 17.03 MB, free: 5.66 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.001323/0.001323, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2191/0.2191, allocations: 43.52 MB / 314.7 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002416/0.002416, allocations: 80.33 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1107, allocations: 57.78 MB / 442 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003062/0.1138, allocations: 1.931 MB / 443.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1151, allocations: 0.9676 MB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.1153, allocations: 7.938 kB / 444.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005723/0.1159, allocations: 191.4 kB / 445.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.1162, allocations: 155.4 kB / 445.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.1167, allocations: 199 kB / 445.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.117, allocations: 259.3 kB / 445.7 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.1171, allocations: 25.66 kB / 445.7 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.1172, allocations: 103.6 kB / 445.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1173, allocations: 99.55 kB / 445.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.1174, allocations: 16 kB / 445.9 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1175, allocations: 59.95 kB / 446 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.1175, allocations: 51.83 kB / 446 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/0.1176, allocations: 87.41 kB / 446.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1178, allocations: 235.2 kB / 446.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1179, allocations: 4 kB / 446.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1179, allocations: 0 / 446.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1179, allocations: 0 / 446.3 MB, free: 1.738 MB / 318.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.0006209/0.1185, allocations: 0.5505 MB / 446.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.1185, allocations: 11.89 kB / 446.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.1186, allocations: 24.66 kB / 446.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.1189, allocations: 275.6 kB / 447.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1189, allocations: 4.375 kB / 447.2 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.1189, allocations: 8.125 kB / 447.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1191, allocations: 108.1 kB / 447.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1191, allocations: 4 kB / 447.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1191, allocations: 4 kB / 447.3 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1191, allocations: 0 / 447.3 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1193, allocations: 31.98 kB / 447.3 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.1196, allocations: 385.5 kB / 447.7 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.1199, allocations: 113.3 kB / 447.8 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.5e-05/0.1199, allocations: 49.64 kB / 447.9 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.12, allocations: 3.938 kB / 447.9 MB, free: 0 / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.1202, allocations: 124.9 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1202, allocations: 4 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004204/0.1207, allocations: 173.3 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.1207, allocations: 114.8 kB / 448.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.1211, allocations: 327 kB / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.1211, allocations: 33.7 kB / 448.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.042e-05/0.1212, allocations: 136.1 kB / 448.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.1212, allocations: 31.55 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.1213, allocations: 29.72 kB / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1214, allocations: 338.8 kB / 449.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.1215, allocations: 35.97 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1216, allocations: 81.08 kB / 449.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.1218, allocations: 95.34 kB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.1218, allocations: 0 / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002636/0.1221, allocations: 141.3 kB / 449.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1221, allocations: 5.344 kB / 449.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.1221, allocations: 8.625 kB / 449.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1221, allocations: 0 / 449.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1222, allocations: 19.98 kB / 449.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1222, allocations: 7.938 kB / 449.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.192e-05/0.1223, allocations: 11.98 kB / 449.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.1223, allocations: 11.94 kB / 449.6 MB, free: 14.18 MB / 334.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.0001338/0.1225, allocations: 157.7 kB / 449.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.1225, allocations: 19.72 kB / 449.7 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.485e-05/0.1226, allocations: 33.73 kB / 449.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1226, allocations: 3.984 kB / 449.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1226, allocations: 4 kB / 449.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1226, allocations: 0 / 449.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.1228, allocations: 257.4 kB / 450 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1228, allocations: 0 / 450 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.1229, allocations: 11.94 kB / 450 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1229, allocations: 0 / 450 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1229, allocations: 8 kB / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1229, allocations: 0 / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1229, allocations: 0 / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.1232, allocations: 185.5 kB / 450.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.1233, allocations: 92.92 kB / 450.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.1233, allocations: 4 kB / 450.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.1234, allocations: 7.984 kB / 450.3 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.1234, allocations: 15.98 kB / 450.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.1235, allocations: 15.88 kB / 450.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.1237, allocations: 241.9 kB / 450.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1237, allocations: 0 / 450.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.124, allocations: 43.89 kB / 450.6 MB, free: 13 MB / 334.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.0009076/0.1249, allocations: 435 kB / 451.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.1251, allocations: 91.89 kB / 451.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1251, allocations: 4.125 kB / 451.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.1253, allocations: 47.92 kB / 451.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1256, allocations: 66.34 kB / 451.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.1262, allocations: 368.4 kB / 451.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.1265, allocations: 0.7476 MB / 452.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.652e-05/0.1266, allocations: 33.92 kB / 452.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.1267, allocations: 23.44 kB / 452.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1267, allocations: 0 / 452.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of Templates: time 0.00618/0.1329, allocations: 2.963 MB / 455.4 MB, free: 8.285 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches