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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009117/0.0009117, allocations: 188.8 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.124/1.124, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008944/0.0008944, allocations: 74.92 kB / 261.4 MB, free: 13.56 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.1791/0.1791, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.262e-06, allocations: 0 / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2885, allocations: 58.84 MB / 476.6 MB, free: 5.297 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1091/0.3977, allocations: 84.14 MB / 0.5476 GB, free: 14.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.3979, allocations: 59.97 kB / 0.5476 GB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.006798/0.4047, allocations: 2.663 MB / 0.5502 GB, free: 12.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.4047, allocations: 0 / 0.5502 GB, free: 12.19 MB / 394.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.000287/0.405, allocations: 364.1 kB / 0.5506 GB, free: 11.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.4051, allocations: 8.031 kB / 0.5506 GB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.4051, allocations: 0 / 0.5506 GB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.807e-05/0.4052, allocations: 159.1 kB / 0.5507 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.4052, allocations: 4 kB / 0.5507 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.4053, allocations: 0 / 0.5507 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.897e-05/0.4053, allocations: 3.938 kB / 0.5507 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.031e-05/0.4054, allocations: 33.69 kB / 0.5508 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.4054, allocations: 3.938 kB / 0.5508 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.4054, allocations: 7.906 kB / 0.5508 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4054, allocations: 0 / 0.5508 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.899e-05/0.4055, allocations: 126.2 kB / 0.5509 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.65e-05/0.4055, allocations: 14.58 kB / 0.5509 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.317e-05/0.4056, allocations: 8.953 kB / 0.5509 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.443e-06/0.4056, allocations: 0 / 0.5509 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.4056, allocations: 60.2 kB / 0.551 GB, free: 11.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.4056, allocations: 7.938 kB / 0.551 GB, free: 11.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001235/0.4058, allocations: 33.69 kB / 0.551 GB, free: 11.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.4058, allocations: 81.11 kB / 0.5511 GB, free: 11.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.707e-05/0.4059, allocations: 85 kB / 0.5512 GB, free: 11.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.4059, allocations: 25.7 kB / 0.5512 GB, free: 10.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.256e-05/0.4059, allocations: 84.14 kB / 0.5513 GB, free: 10.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.4059, allocations: 3.906 kB / 0.5513 GB, free: 10.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-06/0.4059, allocations: 0 / 0.5513 GB, free: 10.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.406, allocations: 314.9 kB / 0.5516 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-06/0.406, allocations: 0 / 0.5516 GB, free: 10.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-06/0.4061, allocations: 0 / 0.5516 GB, free: 10.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.279e-05/0.4061, allocations: 4 kB / 0.5516 GB, free: 10.58 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4061, allocations: 0 / 0.5516 GB, free: 10.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.5e-05/0.4061, allocations: 33.64 kB / 0.5516 GB, free: 10.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.4061, allocations: 7.984 kB / 0.5516 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4062, allocations: 0 / 0.5516 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.4062, allocations: 0 / 0.5516 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.4062, allocations: 96 / 0.5516 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.4062, allocations: 8 kB / 0.5516 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.146e-05/0.4062, allocations: 3.906 kB / 0.5516 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.4062, allocations: 0 / 0.5516 GB, free: 10.52 MB / 394.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 () * 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 6.933e-05/0.4063, allocations: 126.7 kB / 0.5518 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.4063, allocations: 8 kB / 0.5518 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.333e-05/0.4063, allocations: 6.984 kB / 0.5518 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.4063, allocations: 0 / 0.5518 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4063, allocations: 0 / 0.5518 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4063, allocations: 0 / 0.5518 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.931e-05/0.4064, allocations: 134.1 kB / 0.5519 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.4064, allocations: 3.938 kB / 0.5519 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.5e-07/0.4064, allocations: 0 / 0.5519 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.4064, allocations: 4 kB / 0.5519 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.4064, allocations: 0 / 0.5519 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.4065, allocations: 0 / 0.5519 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4065, allocations: 0 / 0.5519 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.521e-05/0.4065, allocations: 64.97 kB / 0.552 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.4066, allocations: 85.14 kB / 0.552 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.4066, allocations: 4 kB / 0.552 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.4066, allocations: 2.438 kB / 0.552 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.4066, allocations: 0 / 0.552 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.4066, allocations: 4 kB / 0.5521 GB, free: 9.996 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.297e-05/0.4067, allocations: 75.28 kB / 0.5521 GB, free: 9.922 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.4068, allocations: 0 / 0.5521 GB, free: 9.922 MB / 394.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) * 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 9.493e-05/0.4069, allocations: 95.19 kB / 0.5522 GB, free: 9.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.849e-05/0.407, allocations: 37.69 kB / 0.5523 GB, free: 9.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.407, allocations: 0 / 0.5523 GB, free: 9.777 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.711e-05/0.407, allocations: 29.7 kB / 0.5523 GB, free: 9.742 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.677e-05/0.4071, allocations: 0 / 0.5523 GB, free: 9.742 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001352/0.4073, allocations: 51.92 kB / 0.5523 GB, free: 9.668 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.4075, allocations: 0.688 MB / 0.553 GB, free: 8.953 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4075, allocations: 0 / 0.553 GB, free: 8.953 MB / 394.7 MB Notification: Performance of Templates: time 0.001505/0.409, allocations: 180.6 kB / 0.5532 GB, free: 8.777 MB / 394.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/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