Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002307/0.002307, allocations: 172.3 kB / 8.144 MB, free: 2.141 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.2 MB / 213.8 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 87.03 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3025/0.3025, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.444e-06/7.534e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2717, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.4165, allocations: 84.14 MB / 0.5475 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.4168, allocations: 63.48 kB / 0.5476 GB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01182/0.4286, allocations: 2.663 MB / 0.5502 GB, free: 12.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.4287, allocations: 4 kB / 0.5502 GB, free: 12.21 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.0004265/0.4291, allocations: 360.1 kB / 0.5505 GB, free: 11.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.4292, allocations: 8.031 kB / 0.5505 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.4292, allocations: 0 / 0.5505 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.4294, allocations: 159.1 kB / 0.5507 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.4294, allocations: 0 / 0.5507 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.4294, allocations: 11.94 kB / 0.5507 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.542e-05/0.4295, allocations: 0 / 0.5507 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.692e-05/0.4295, allocations: 25.7 kB / 0.5507 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4295, allocations: 0 / 0.5507 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.4296, allocations: 11.84 kB / 0.5507 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.4296, allocations: 0 / 0.5507 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.4297, allocations: 126.2 kB / 0.5509 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.085e-05/0.4298, allocations: 18.58 kB / 0.5509 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.4298, allocations: 12.95 kB / 0.5509 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-06/0.4298, allocations: 0 / 0.5509 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/0.4299, allocations: 60.2 kB / 0.551 GB, free: 11.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.372e-06/0.4299, allocations: 0 / 0.551 GB, free: 11.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001388/0.43, allocations: 29.7 kB / 0.551 GB, free: 11.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.4301, allocations: 81.09 kB / 0.5511 GB, free: 11.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.891e-05/0.4301, allocations: 85 kB / 0.5511 GB, free: 11.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.4302, allocations: 25.7 kB / 0.5512 GB, free: 11.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.4302, allocations: 154.6 kB / 0.5513 GB, free: 10.87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.4303, allocations: 11.89 kB / 0.5513 GB, free: 10.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.4303, allocations: 3.938 kB / 0.5513 GB, free: 10.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4304, allocations: 314.8 kB / 0.5516 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-06/0.4304, allocations: 0 / 0.5516 GB, free: 10.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-06/0.4304, allocations: 0 / 0.5516 GB, free: 10.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.976e-05/0.4305, allocations: 4 kB / 0.5516 GB, free: 10.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4305, allocations: 0 / 0.5516 GB, free: 10.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.852e-05/0.4305, allocations: 37.7 kB / 0.5517 GB, free: 10.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4306, allocations: 7.281 kB / 0.5517 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4306, allocations: 0 / 0.5517 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4306, allocations: 0 / 0.5517 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.542e-06/0.4306, allocations: 0 / 0.5517 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4307, allocations: 3.984 kB / 0.5517 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.4307, allocations: 4 kB / 0.5517 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.4307, allocations: 3.906 kB / 0.5517 GB, free: 10.47 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 7.199e-05/0.4308, allocations: 51.41 kB / 0.5517 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.4308, allocations: 4.031 kB / 0.5517 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.75e-05/0.4308, allocations: 6.984 kB / 0.5517 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4308, allocations: 4 kB / 0.5517 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4309, allocations: 0 / 0.5517 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4309, allocations: 0 / 0.5517 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.655e-05/0.431, allocations: 130.1 kB / 0.5519 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.431, allocations: 0 / 0.5519 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.31e-07/0.431, allocations: 3.938 kB / 0.5519 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.431, allocations: 4 kB / 0.5519 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.431, allocations: 4 kB / 0.5519 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.431, allocations: 0 / 0.5519 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4311, allocations: 4 kB / 0.5519 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.011e-05/0.4311, allocations: 61.08 kB / 0.5519 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.4312, allocations: 85 kB / 0.552 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.4312, allocations: 0 / 0.552 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.359e-05/0.4313, allocations: 0 / 0.552 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.4313, allocations: 0 / 0.552 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.4313, allocations: 0 / 0.552 GB, free: 10.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.91e-05/0.4313, allocations: 85.72 kB / 0.5521 GB, free: 9.949 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002019/0.4315, allocations: 0 / 0.5521 GB, free: 9.949 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 0.0001402/0.4317, allocations: 91.25 kB / 0.5522 GB, free: 9.852 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.284e-05/0.4318, allocations: 33.7 kB / 0.5522 GB, free: 9.812 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4318, allocations: 0 / 0.5522 GB, free: 9.812 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.87e-05/0.4318, allocations: 29.7 kB / 0.5523 GB, free: 9.777 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/0.432, allocations: 0 / 0.5523 GB, free: 9.777 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001693/0.4321, allocations: 81.77 kB / 0.5523 GB, free: 9.668 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.4324, allocations: 0.6841 MB / 0.553 GB, free: 8.957 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4324, allocations: 0 / 0.553 GB, free: 8.957 MB / 394.7 MB Notification: Performance of Templates: time 0.001764/0.4342, allocations: 331.4 kB / 0.5533 GB, free: 8.633 MB / 394.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