Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 178.2 kB / 16.41 MB, free: 5.707 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.258/1.258, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007699/0.00077, allocations: 102.1 kB / 270.9 MB, free: 8.348 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.3452/0.3452, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003664, allocations: 12 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1166, allocations: 58.86 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0006348/0.1172, allocations: 220.3 kB / 490.5 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007625/0.118, allocations: 329.7 kB / 490.8 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.366e-05/0.118, allocations: 4 kB / 490.8 MB, free: 10.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.869e-06/0.1181, allocations: 0 / 490.8 MB, free: 10.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.77e-06/0.1181, allocations: 0 / 490.8 MB, free: 10.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006541/0.1187, allocations: 151.6 kB / 490.9 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.295e-05/0.1188, allocations: 7.984 kB / 490.9 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.1188, allocations: 4 kB / 490.9 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.507e-05/0.1189, allocations: 0 / 490.9 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.46e-05/0.1189, allocations: 0 / 490.9 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.933e-06/0.1189, allocations: 0 / 490.9 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.1192, allocations: 155.7 kB / 491.1 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.15e-06/0.1192, allocations: 0 / 491.1 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.1192, allocations: 25.7 kB / 491.1 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.1194, allocations: 91.83 kB / 491.2 MB, free: 10.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.1194, allocations: 0 / 491.2 MB, free: 10.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1194, allocations: 0 / 491.2 MB, free: 10.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1194, allocations: 4 kB / 491.2 MB, free: 10 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.0003548/0.1198, allocations: 365.1 kB / 491.6 MB, free: 9.594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1198, allocations: 12.03 kB / 491.6 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.1198, allocations: 3.953 kB / 491.6 MB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.475e-05/0.1199, allocations: 159.1 kB / 491.7 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.12, allocations: 0 / 491.7 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.12, allocations: 0 / 491.7 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.373e-05/0.1201, allocations: 33.69 kB / 491.8 MB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1201, allocations: 0 / 491.8 MB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.1201, allocations: 11.92 kB / 491.8 MB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.1201, allocations: 0 / 491.8 MB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.563e-05/0.1201, allocations: 4 kB / 491.8 MB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.1203, allocations: 153.5 kB / 491.9 MB, free: 9.129 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.983e-05/0.1203, allocations: 14.58 kB / 492 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.1203, allocations: 12.94 kB / 492 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.1203, allocations: 0 / 492 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.1204, allocations: 60.27 kB / 492 MB, free: 9.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1204, allocations: 0 / 492 MB, free: 9.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001653/0.1205, allocations: 67.34 kB / 492.1 MB, free: 8.938 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.1206, allocations: 77.11 kB / 492.2 MB, free: 8.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.877e-05/0.1206, allocations: 93.84 kB / 492.3 MB, free: 8.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1207, allocations: 25.7 kB / 492.3 MB, free: 8.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.49e-05/0.1207, allocations: 84.14 kB / 492.4 MB, free: 8.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.1207, allocations: 0 / 492.4 MB, free: 8.625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-06/0.1207, allocations: 4.125 kB / 492.4 MB, free: 8.621 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1208, allocations: 314.8 kB / 492.7 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-06/0.1209, allocations: 0 / 492.7 MB, free: 8.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-06/0.1209, allocations: 4 kB / 492.7 MB, free: 8.301 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.313e-05/0.1209, allocations: 29.64 kB / 492.7 MB, free: 8.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1209, allocations: 0 / 492.7 MB, free: 8.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.853e-05/0.121, allocations: 75.27 kB / 492.8 MB, free: 8.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.121, allocations: 29.7 kB / 492.8 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.121, allocations: 96 / 492.8 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.235e-05/0.1211, allocations: 4 kB / 492.8 MB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.1211, allocations: 0 / 492.8 MB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.1211, allocations: 4 kB / 492.8 MB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.486e-05/0.1211, allocations: 0 / 492.8 MB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1211, allocations: 4 kB / 492.8 MB, free: 8.133 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.345e-05/0.1212, allocations: 139.5 kB / 493 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-06/0.1212, allocations: 4 kB / 493 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.027e-05/0.1212, allocations: 7.109 kB / 493 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.1213, allocations: 0 / 493 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1213, allocations: 4 kB / 493 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.1213, allocations: 0 / 493 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.1214, allocations: 153.6 kB / 493.1 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1214, allocations: 0 / 493.1 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.1214, allocations: 0 / 493.1 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1214, allocations: 0 / 493.1 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.1214, allocations: 0 / 493.1 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1214, allocations: 3.984 kB / 493.1 MB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1214, allocations: 0 / 493.1 MB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.09e-05/0.1215, allocations: 98.73 kB / 493.2 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.1215, allocations: 81.09 kB / 493.3 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.1216, allocations: 0 / 493.3 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.1216, allocations: 4 kB / 493.3 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.1216, allocations: 0 / 493.3 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.1216, allocations: 3.984 kB / 493.3 MB, free: 7.535 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.457e-05/0.1217, allocations: 75.28 kB / 493.4 MB, free: 7.461 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1217, allocations: 0 / 493.4 MB, free: 7.461 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002822/0.1219, allocations: 48.03 kB / 493.4 MB, free: 7.414 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 (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.000421/0.1224, allocations: 187.1 kB / 493.6 MB, free: 7.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.696e-05/0.1225, allocations: 55.41 kB / 493.7 MB, free: 7.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.1225, allocations: 7.938 kB / 493.7 MB, free: 7.156 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.571e-05/0.1225, allocations: 55.34 kB / 493.7 MB, free: 7.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.1227, allocations: 4 kB / 493.7 MB, free: 7.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.1229, allocations: 112.5 kB / 493.8 MB, free: 6.945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.1232, allocations: 0.6731 MB / 494.5 MB, free: 6.246 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.788e-06/0.1233, allocations: 7.438 kB / 494.5 MB, free: 6.242 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1233, allocations: 0 / 494.5 MB, free: 6.242 MB / 378.7 MB Notification: Performance of Templates: time 0.002897/0.1262, allocations: 1.428 MB / 496 MB, free: 4.812 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches