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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009136/0.0009133, allocations: 96.52 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008595/0.0008597, allocations: 175.4 kB / 16.57 MB, free: 6.387 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.557/1.557, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3298/0.3298, allocations: 43.54 MB / 314.5 MB, free: 9.035 MB / 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.0004731/0.0004731, allocations: 12 kB / 383.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1235, allocations: 58.86 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0005925/0.1242, allocations: 228.4 kB / 443 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007197/0.1249, allocations: 324.3 kB / 443.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.251e-05/0.1249, allocations: 0 / 443.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.125, allocations: 0 / 443.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.092e-06/0.125, allocations: 0 / 443.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.1255, allocations: 131.7 kB / 443.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.065e-05/0.1256, allocations: 7.984 kB / 443.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.1256, allocations: 0 / 443.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.264e-05/0.1256, allocations: 0 / 443.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.121e-05/0.1257, allocations: 8 kB / 443.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.061e-06/0.1257, allocations: 0 / 443.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.1259, allocations: 135.7 kB / 443.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-06/0.1259, allocations: 3.938 kB / 443.6 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.1259, allocations: 25.7 kB / 443.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.1261, allocations: 99.77 kB / 443.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1261, allocations: 0 / 443.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1261, allocations: 0 / 443.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.1261, allocations: 0 / 443.7 MB, free: 12.36 MB / 382.1 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.0003134/0.1264, allocations: 361.1 kB / 444 MB, free: 11.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1265, allocations: 12.03 kB / 444 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.1265, allocations: 0 / 444 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.62e-05/0.1266, allocations: 163 kB / 444.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1266, allocations: 0 / 444.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1267, allocations: 4 kB / 444.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.347e-05/0.1267, allocations: 29.69 kB / 444.2 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1268, allocations: 0 / 444.2 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1268, allocations: 0 / 444.2 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1268, allocations: 4 kB / 444.2 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.805e-05/0.1268, allocations: 7.938 kB / 444.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.127, allocations: 149.6 kB / 444.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.867e-05/0.127, allocations: 18.61 kB / 444.4 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-06/0.127, allocations: 0 / 444.4 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.1271, allocations: 56.27 kB / 444.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.1271, allocations: 3.938 kB / 444.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001657/0.1272, allocations: 71.39 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.1273, allocations: 85.14 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.034e-05/0.1273, allocations: 89.86 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.1274, allocations: 25.7 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.1274, allocations: 84.14 kB / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.1274, allocations: 0 / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-06/0.1274, allocations: 0 / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.1275, allocations: 318.8 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-06/0.1275, allocations: 0 / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.439e-06/0.1275, allocations: 4 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.299e-05/0.1276, allocations: 29.7 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1276, allocations: 0 / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.354e-05/0.1276, allocations: 67.34 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.1277, allocations: 29.7 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1277, allocations: 3.984 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1277, allocations: 0 / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.1277, allocations: 0 / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1277, allocations: 0 / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.1278, allocations: 4.094 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1278, allocations: 8 kB / 445.3 MB, free: 10.51 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.932e-05/0.1279, allocations: 143.4 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-06/0.1279, allocations: 4 kB / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.27e-05/0.1279, allocations: 7.109 kB / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1279, allocations: 0 / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1279, allocations: 0 / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.1279, allocations: 0 / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.084e-05/0.128, allocations: 149.6 kB / 445.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.128, allocations: 4 kB / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.128, allocations: 4 kB / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.128, allocations: 0 / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.128, allocations: 4 kB / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1281, allocations: 3.984 kB / 445.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1281, allocations: 0 / 445.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.396e-05/0.1282, allocations: 94.77 kB / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.1282, allocations: 81.06 kB / 445.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.1282, allocations: 7.969 kB / 445.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.025e-05/0.1282, allocations: 4 kB / 445.8 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.1283, allocations: 0 / 445.8 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.1283, allocations: 3.984 kB / 445.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.885e-05/0.1283, allocations: 75.28 kB / 445.9 MB, free: 9.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1283, allocations: 0 / 445.9 MB, free: 9.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1286, allocations: 52 kB / 445.9 MB, free: 9.777 MB / 382.1 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 (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.0004216/0.129, allocations: 175.2 kB / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.1291, allocations: 63.39 kB / 446.1 MB, free: 9.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1291, allocations: 0 / 446.1 MB, free: 9.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.136e-05/0.1292, allocations: 59.34 kB / 446.2 MB, free: 9.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.846e-05/0.1293, allocations: 7.938 kB / 446.2 MB, free: 9.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001974/0.1295, allocations: 70.77 kB / 446.3 MB, free: 9.355 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1298, allocations: 0.677 MB / 446.9 MB, free: 8.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.412e-06/0.1298, allocations: 128 / 446.9 MB, free: 8.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.087e-05/0.1298, allocations: 15.38 kB / 447 MB, free: 8.641 MB / 382.1 MB Notification: Performance of SimCode: time 1.713e-06/0.1298, allocations: 0 / 447 MB, free: 8.641 MB / 382.1 MB Notification: Performance of Templates: time 0.004002/0.1338, allocations: 1.338 MB / 448.3 MB, free: 7.301 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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