Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.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.Blocks.BooleanTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable1.y|booleanTable2a.y|booleanTable2b.y|booleanTable3a.y|booleanTable3b.y|booleanTable3c.y|booleanTable4a.y|booleanTable4b.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable") translateModel(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable1.y|booleanTable2a.y|booleanTable2b.y|booleanTable3a.y|booleanTable3b.y|booleanTable3c.y|booleanTable4a.y|booleanTable4b.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 107.6 kB / 17.09 MB, free: 5.988 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.001314/0.001314, allocations: 199.3 kB / 18.02 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.242/1.242, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1856/0.1856, allocations: 43.53 MB / 314.8 MB, free: 460 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.001349/0.001349, allocations: 63.89 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09264/0.094, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.BooleanTable): time 0.004075/0.0981, allocations: 3.134 MB / 0.4916 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.1013, allocations: 1.938 MB / 0.4935 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004213/0.1017, allocations: 19.81 kB / 0.4935 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.1035, allocations: 0.9273 MB / 0.4944 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.1049, allocations: 0.6773 MB / 0.4951 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.1068, allocations: 0.9006 MB / 0.496 GB, free: 4.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.1082, allocations: 1.18 MB / 0.4971 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.1084, allocations: 155.2 kB / 0.4973 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006337/0.1091, allocations: 474.2 kB / 0.4977 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006466/0.1097, allocations: 461.9 kB / 0.4981 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.1098, allocations: 55.98 kB / 0.4982 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004107/0.1103, allocations: 227.8 kB / 0.4984 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.1105, allocations: 235.1 kB / 0.4986 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.1108, allocations: 389.6 kB / 0.499 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009087/0.1117, allocations: 0.9888 MB / 0.5 GB, free: 40 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1118, allocations: 3.938 kB / 0.5 GB, free: 36 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1118, allocations: 0 / 0.5 GB, free: 36 kB / 382.1 MB Notification: Performance of Transformations before backend: time 2.157e-05/0.1118, allocations: 0 / 0.5 GB, free: 36 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002009/0.1138, allocations: 1.428 MB / 0.5014 GB, free: 14.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1139, allocations: 11.89 kB / 0.5014 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.114, allocations: 95.72 kB / 0.5015 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009985/0.115, allocations: 0.6991 MB / 0.5022 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.1151, allocations: 32.92 kB / 0.5022 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.1151, allocations: 32.12 kB / 0.5022 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006863/0.1158, allocations: 414.3 kB / 0.5026 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1159, allocations: 0 / 0.5026 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/0.1159, allocations: 12 kB / 0.5026 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.1159, allocations: 8 kB / 0.5026 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.1164, allocations: 199.8 kB / 0.5028 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.1181, allocations: 1.52 MB / 0.5043 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009467/0.1191, allocations: 0.5128 MB / 0.5048 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/0.1195, allocations: 198.7 kB / 0.505 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-05/0.1195, allocations: 8 kB / 0.505 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005827/0.1201, allocations: 379.6 kB / 0.5054 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.645e-06/0.1201, allocations: 0 / 0.5054 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.001405/0.1215, allocations: 0.6771 MB / 0.506 GB, free: 9.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.1217, allocations: 456.9 kB / 0.5065 GB, free: 8.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.1229, allocations: 1.032 MB / 0.5075 GB, free: 7.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/0.123, allocations: 45.7 kB / 0.5075 GB, free: 7.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.1233, allocations: 372.9 kB / 0.5079 GB, free: 7.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.1234, allocations: 126.3 kB / 0.508 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.1235, allocations: 102.2 kB / 0.5081 GB, free: 7.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1237, allocations: 326 kB / 0.5084 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.124, allocations: 141 kB / 0.5085 GB, free: 6.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/0.1244, allocations: 384.9 kB / 0.5089 GB, free: 6.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/0.1251, allocations: 406.2 kB / 0.5093 GB, free: 5.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1251, allocations: 0 / 0.5093 GB, free: 5.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009516/0.1261, allocations: 0.5352 MB / 0.5098 GB, free: 5.223 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1261, allocations: 11.94 kB / 0.5098 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1261, allocations: 4 kB / 0.5098 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1262, allocations: 8 kB / 0.5098 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.1265, allocations: 91.83 kB / 0.5099 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.1265, allocations: 8 kB / 0.5099 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.1268, allocations: 67.77 kB / 0.51 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.1269, allocations: 23.94 kB / 0.51 GB, free: 5.012 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.booleanTable1.combiTimeTable.nextTimeEvent,$whenCondition8,booleanTable1.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable1.combiTimeTable.nextTimeEventScaled,booleanTable1.combiTimeTable.nextTimeEvent,booleanTable1.y,$PRE.booleanTable2a.combiTimeTable.nextTimeEvent,$whenCondition7,booleanTable2a.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable2a.combiTimeTable.nextTimeEventScaled,booleanTable2a.combiTimeTable.nextTimeEvent,booleanTable2a.y,$PRE.booleanTable2b.combiTimeTable.nextTimeEvent,$whenCondition6,booleanTable2b.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable2b.combiTimeTable.nextTimeEventScaled,booleanTable2b.combiTimeTable.nextTimeEvent,booleanTable2b.y,$PRE.booleanTable3a.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable3a.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable3a.combiTimeTable.nextTimeEventScaled,booleanTable3a.combiTimeTable.nextTimeEvent,booleanTable3a.y,$PRE.booleanTable3b.combiTimeTable.nextTimeEvent,$whenCondition4,booleanTable3b.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable3b.combiTimeTable.nextTimeEventScaled,booleanTable3b.combiTimeTable.nextTimeEvent,booleanTable3b.y,$PRE.booleanTable3c.combiTimeTable.nextTimeEvent,$whenCondition3,booleanTable3c.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable3c.combiTimeTable.nextTimeEventScaled,booleanTable3c.combiTimeTable.nextTimeEvent,booleanTable3c.y,$PRE.booleanTable4a.combiTimeTable.nextTimeEvent,$whenCondition2,booleanTable4a.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable4a.combiTimeTable.nextTimeEventScaled,booleanTable4a.combiTimeTable.nextTimeEvent,booleanTable4a.y,$PRE.booleanTable4b.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable4b.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable4b.combiTimeTable.nextTimeEventScaled,booleanTable4b.combiTimeTable.nextTimeEvent,booleanTable4b.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * 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.0003092/0.1272, allocations: 298.1 kB / 0.5103 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.1273, allocations: 106.7 kB / 0.5104 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.1275, allocations: 95.55 kB / 0.5105 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.1275, allocations: 4 kB / 0.5105 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1275, allocations: 0 / 0.5105 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.1277, allocations: 171.8 kB / 0.5107 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.1278, allocations: 20 kB / 0.5107 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.1281, allocations: 39.95 kB / 0.5107 GB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.1282, allocations: 51.83 kB / 0.5108 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001177/0.1294, allocations: 1.121 MB / 0.5119 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001211/0.1306, allocations: 1.248 MB / 0.5131 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004599/0.1311, allocations: 263.8 kB / 0.5133 GB, free: 1.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008449/0.1319, allocations: 0.7303 MB / 0.5141 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of Backend: time 2e-07/0.1319, allocations: 0 / 0.5141 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002444/0.1344, allocations: 0.7653 MB / 0.5148 GB, free: 72 kB / 398.1 MB Notification: Performance of SimCode: time 0.002472/0.1369, allocations: 1.869 MB / 0.5166 GB, free: 14.16 MB / 414.1 MB Notification: Performance of Templates: time 0.2085/0.3454, allocations: 14.75 MB / 0.531 GB, free: 40.9 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/BooleanTable/BooleanTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches