Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 175.9 kB / 8.52 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 221.4 MB / 230.3 MB, free: 7.766 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009425/0.000943, allocations: 88.73 kB / 281.2 MB, free: 5.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2222/0.2222, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.027e-05/1.037e-05, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1692, allocations: 61.91 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4176/0.5869, allocations: 85.43 MB / 0.5775 GB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.5871, allocations: 61.94 kB / 0.5776 GB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008585/0.5957, allocations: 3.017 MB / 0.5805 GB, free: 8.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.5958, allocations: 0 / 0.5805 GB, free: 8.324 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.0003576/0.5961, allocations: 359.8 kB / 0.5809 GB, free: 7.926 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.5962, allocations: 15.95 kB / 0.5809 GB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.5962, allocations: 7.734 kB / 0.5809 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.5964, allocations: 159.1 kB / 0.581 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.5964, allocations: 4 kB / 0.581 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.5964, allocations: 0 / 0.581 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.558e-05/0.5965, allocations: 0 / 0.581 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.668e-05/0.5965, allocations: 33.64 kB / 0.5811 GB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.5965, allocations: 8 kB / 0.5811 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.5965, allocations: 0 / 0.5811 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.5966, allocations: 3.906 kB / 0.5811 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.5967, allocations: 130.2 kB / 0.5812 GB, free: 7.492 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.546e-05/0.5967, allocations: 14.58 kB / 0.5812 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.841e-05/0.5968, allocations: 8.953 kB / 0.5812 GB, free: 7.457 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.5968, allocations: 0 / 0.5812 GB, free: 7.457 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.5968, allocations: 60.27 kB / 0.5813 GB, free: 7.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.5968, allocations: 0 / 0.5813 GB, free: 7.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001384/0.597, allocations: 33.64 kB / 0.5813 GB, free: 7.344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.597, allocations: 81.11 kB / 0.5814 GB, free: 7.246 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.954e-05/0.5971, allocations: 85 kB / 0.5815 GB, free: 7.156 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.5971, allocations: 25.7 kB / 0.5815 GB, free: 7.125 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.5972, allocations: 80.14 kB / 0.5816 GB, free: 7.043 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.5972, allocations: 7.906 kB / 0.5816 GB, free: 7.035 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.5972, allocations: 0 / 0.5816 GB, free: 7.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5973, allocations: 318.9 kB / 0.5819 GB, free: 6.715 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.803e-06/0.5973, allocations: 0 / 0.5819 GB, free: 6.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-06/0.5973, allocations: 0 / 0.5819 GB, free: 6.715 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.65e-05/0.5974, allocations: 4 kB / 0.5819 GB, free: 6.711 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5974, allocations: 0 / 0.5819 GB, free: 6.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.437e-05/0.5974, allocations: 29.7 kB / 0.5819 GB, free: 6.676 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.5974, allocations: 4 kB / 0.5819 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5974, allocations: 0 / 0.5819 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.5975, allocations: 0.9375 kB / 0.5819 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.5975, allocations: 4 kB / 0.5819 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.5975, allocations: 0 / 0.5819 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.238e-05/0.5975, allocations: 4 kB / 0.5819 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.5975, allocations: 0 / 0.5819 GB, free: 6.664 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 9.634e-05/0.5976, allocations: 146.5 kB / 0.5821 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-06/0.5976, allocations: 0 / 0.5821 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.611e-05/0.5976, allocations: 10.95 kB / 0.5821 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.5977, allocations: 0 / 0.5821 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5977, allocations: 7.922 kB / 0.5821 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5977, allocations: 4 kB / 0.5821 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.941e-05/0.5978, allocations: 126.2 kB / 0.5822 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.5978, allocations: 3.984 kB / 0.5822 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.5978, allocations: 0 / 0.5822 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.5978, allocations: 0 / 0.5822 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.5978, allocations: 4 kB / 0.5822 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.5978, allocations: 0 / 0.5822 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5978, allocations: 0 / 0.5822 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.98e-05/0.5979, allocations: 61.14 kB / 0.5823 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.598, allocations: 85 kB / 0.5824 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.598, allocations: 0 / 0.5824 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-06/0.598, allocations: 0 / 0.5824 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.598, allocations: 0 / 0.5824 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.598, allocations: 4 kB / 0.5824 GB, free: 6.133 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.886e-05/0.5981, allocations: 75.28 kB / 0.5824 GB, free: 6.059 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001956/0.5983, allocations: 0 / 0.5824 GB, free: 6.059 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.796e-05/0.5984, allocations: 99.22 kB / 0.5825 GB, free: 5.953 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.017e-05/0.5985, allocations: 29.7 kB / 0.5826 GB, free: 5.918 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5985, allocations: 0 / 0.5826 GB, free: 5.918 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.802e-05/0.5985, allocations: 29.7 kB / 0.5826 GB, free: 5.883 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.702e-05/0.5986, allocations: 2.344 kB / 0.5826 GB, free: 5.883 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001505/0.5987, allocations: 48.06 kB / 0.5826 GB, free: 5.812 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.599, allocations: 0.6802 MB / 0.5833 GB, free: 5.105 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.599, allocations: 0 / 0.5833 GB, free: 5.105 MB / 394.7 MB Notification: Performance of Templates: time 0.001664/0.6007, allocations: 185.2 kB / 0.5835 GB, free: 4.926 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches