Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.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.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009742/0.0009741, allocations: 183 kB / 16.63 MB, free: 5.137 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.185/1.185, allocations: 205.1 MB / 222.5 MB, free: 8.48 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.0009565/0.0009568, allocations: 105 kB / 269.9 MB, free: 8.441 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.3103/0.3103, allocations: 43.48 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000994/0.000994, allocations: 51.92 kB / 429.2 MB, free: 6.406 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1101, allocations: 57.77 MB / 487 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001679/0.1118, allocations: 0.5579 MB / 487.6 MB, free: 12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007924/0.1126, allocations: 369.5 kB / 487.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.358e-06/0.1126, allocations: 0 / 487.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.18e-05/0.1127, allocations: 0 / 487.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.577e-06/0.1127, allocations: 0 / 487.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005866/0.1133, allocations: 151.6 kB / 488.1 MB, free: 11.49 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.389e-05/0.1133, allocations: 4 kB / 488.1 MB, free: 11.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.835e-05/0.1133, allocations: 7.984 kB / 488.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.177e-05/0.1134, allocations: 0 / 488.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.6e-05/0.1134, allocations: 4 kB / 488.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.24e-06/0.1134, allocations: 0 / 488.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.1137, allocations: 151.7 kB / 488.2 MB, free: 11.33 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.1137, allocations: 0 / 488.2 MB, free: 11.33 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.1137, allocations: 11.86 kB / 488.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.1139, allocations: 135.8 kB / 488.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1139, allocations: 0 / 488.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.561e-06/0.114, allocations: 4 kB / 488.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.114, allocations: 3.938 kB / 488.4 MB, free: 11.18 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003694/0.1143, allocations: 361.3 kB / 488.7 MB, free: 10.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1144, allocations: 12.03 kB / 488.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.1144, allocations: 4.938 kB / 488.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.995e-05/0.1145, allocations: 160.4 kB / 488.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.1145, allocations: 384 / 488.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.1145, allocations: 384 / 488.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.74e-05/0.1146, allocations: 34.25 kB / 488.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1146, allocations: 192 / 488.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1147, allocations: 3.938 kB / 489 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1147, allocations: 7.922 kB / 489 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.814e-05/0.1147, allocations: 8 kB / 489 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.1148, allocations: 149.6 kB / 489.1 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.729e-05/0.1149, allocations: 18.52 kB / 489.1 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.35e-05/0.1149, allocations: 4.859 kB / 489.1 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-06/0.1149, allocations: 0 / 489.1 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.1149, allocations: 68.31 kB / 489.2 MB, free: 10.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.115, allocations: 0 / 489.2 MB, free: 10.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001699/0.1151, allocations: 75.22 kB / 489.3 MB, free: 10.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.1152, allocations: 77.11 kB / 489.4 MB, free: 10 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.782e-05/0.1152, allocations: 89.86 kB / 489.4 MB, free: 9.906 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.1153, allocations: 25.7 kB / 489.5 MB, free: 9.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.1153, allocations: 85.3 kB / 489.5 MB, free: 9.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.1153, allocations: 0 / 489.5 MB, free: 9.789 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.1153, allocations: 21.7 kB / 489.6 MB, free: 9.762 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1155, allocations: 311 kB / 489.9 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.1155, allocations: 4 kB / 489.9 MB, free: 9.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-06/0.1155, allocations: 4 kB / 489.9 MB, free: 9.441 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.07e-05/0.1156, allocations: 56.27 kB / 489.9 MB, free: 9.371 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1156, allocations: 0 / 489.9 MB, free: 9.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.107e-05/0.1156, allocations: 71.33 kB / 490 MB, free: 9.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.08e-05/0.1157, allocations: 33.7 kB / 490 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1157, allocations: 0 / 490 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1157, allocations: 3.938 kB / 490 MB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.1157, allocations: 4.094 kB / 490 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1157, allocations: 0 / 490 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.385e-05/0.1158, allocations: 0 / 490 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1158, allocations: 0 / 490 MB, free: 9.242 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.957e-05/0.1159, allocations: 135.5 kB / 490.2 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-06/0.1159, allocations: 0 / 490.2 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.435e-05/0.1159, allocations: 11.05 kB / 490.2 MB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.1159, allocations: 0 / 490.2 MB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1159, allocations: 4 kB / 490.2 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1159, allocations: 4 kB / 490.2 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.727e-05/0.116, allocations: 141.7 kB / 490.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.116, allocations: 0 / 490.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-06/0.116, allocations: 7.938 kB / 490.3 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.116, allocations: 0 / 490.3 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.116, allocations: 11.92 kB / 490.4 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.116, allocations: 0 / 490.4 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.116, allocations: 0 / 490.4 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.1163, allocations: 0.6374 MB / 491 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.1164, allocations: 77.11 kB / 491.1 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.1164, allocations: 0 / 491.1 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-06/0.1164, allocations: 0 / 491.1 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.1164, allocations: 7.984 kB / 491.1 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.1164, allocations: 4 kB / 491.1 MB, free: 8.059 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.967e-05/0.1165, allocations: 75.28 kB / 491.2 MB, free: 7.984 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1165, allocations: 0 / 491.2 MB, free: 7.984 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003589/0.1168, allocations: 52.03 kB / 491.2 MB, free: 7.934 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0003465/0.1172, allocations: 187.1 kB / 491.4 MB, free: 7.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.64e-05/0.1173, allocations: 63.39 kB / 491.4 MB, free: 7.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1173, allocations: 0 / 491.4 MB, free: 7.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.943e-05/0.1173, allocations: 55.41 kB / 491.5 MB, free: 7.605 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.1175, allocations: 11.88 kB / 491.5 MB, free: 7.594 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002221/0.1177, allocations: 181.5 kB / 491.7 MB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.1179, allocations: 0.677 MB / 492.4 MB, free: 6.676 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.679e-06/0.1179, allocations: 0 / 492.4 MB, free: 6.676 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-06/0.118, allocations: 7.438 kB / 492.4 MB, free: 6.668 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.118, allocations: 0 / 492.4 MB, free: 6.668 MB / 378.7 MB Notification: Performance of Templates: time 0.00339/0.1214, allocations: 1.44 MB / 493.8 MB, free: 5.227 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches