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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 96.97 kB / 20.21 MB, free: 4.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002097/0.002097, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2069/0.2069, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 346.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.801e-05, allocations: 6.25 kB / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001311/0.001339, allocations: 0.5042 MB / 347.4 MB, free: 9.324 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000678/0.002017, allocations: 359.6 kB / 347.8 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.165e-05/0.002028, allocations: 0 / 347.8 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.929e-06/0.002038, allocations: 0 / 347.8 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.107e-06/0.002042, allocations: 0 / 347.8 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.002688, allocations: 199.5 kB / 348 MB, free: 8.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.601e-05/0.002724, allocations: 4 kB / 348 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.39e-05/0.002748, allocations: 0 / 348 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.342e-05/0.002771, allocations: 4 kB / 348 MB, free: 8.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.615e-05/0.002787, allocations: 0 / 348 MB, free: 8.766 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.522e-06/0.002794, allocations: 3.938 kB / 348 MB, free: 8.762 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.003049, allocations: 207.5 kB / 348.2 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-06/0.003054, allocations: 0 / 348.2 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.537e-05/0.00307, allocations: 4 kB / 348.2 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.003272, allocations: 175.5 kB / 348.4 MB, free: 8.383 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.003274, allocations: 0 / 348.4 MB, free: 8.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.003275, allocations: 4 kB / 348.4 MB, free: 8.379 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.003278, allocations: 0 / 348.4 MB, free: 8.379 MB / 282.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.0002274/0.003505, allocations: 393.9 kB / 348.7 MB, free: 7.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.671e-05/0.003532, allocations: 8.031 kB / 348.8 MB, free: 7.941 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.003562, allocations: 4.938 kB / 348.8 MB, free: 7.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.678e-05/0.003599, allocations: 104.6 kB / 348.9 MB, free: 7.809 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.003616, allocations: 4.375 kB / 348.9 MB, free: 7.805 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-06/0.003622, allocations: 384 / 348.9 MB, free: 7.805 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.904e-05/0.003681, allocations: 59.95 kB / 348.9 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.003687, allocations: 192 / 348.9 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.003693, allocations: 384 / 348.9 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-06/0.003696, allocations: 4.375 kB / 348.9 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.003717, allocations: 37.58 kB / 349 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.362e-05/0.00378, allocations: 108.6 kB / 349.1 MB, free: 7.547 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.999e-05/0.00382, allocations: 48.86 kB / 349.1 MB, free: 7.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.003838, allocations: 41.38 kB / 349.2 MB, free: 7.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.003845, allocations: 0 / 349.2 MB, free: 7.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.003869, allocations: 63.09 kB / 349.2 MB, free: 7.352 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.00387, allocations: 4 kB / 349.2 MB, free: 7.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001391/0.004009, allocations: 118.7 kB / 349.3 MB, free: 7.207 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.004032, allocations: 81.23 kB / 349.4 MB, free: 7.109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.683e-05/0.004059, allocations: 142.2 kB / 349.6 MB, free: 6.957 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.004065, allocations: 25.7 kB / 349.6 MB, free: 6.926 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.45e-05/0.00408, allocations: 130.9 kB / 349.7 MB, free: 6.793 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.004093, allocations: 4 kB / 349.7 MB, free: 6.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.004116, allocations: 19.38 kB / 349.7 MB, free: 6.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.165e-05/0.004177, allocations: 496.1 kB / 350.2 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.004189, allocations: 29.7 kB / 350.2 MB, free: 6.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-06/0.004199, allocations: 29.69 kB / 350.3 MB, free: 6.195 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.648e-05/0.004225, allocations: 71.03 kB / 350.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.004226, allocations: 4.062 kB / 350.4 MB, free: 6.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.01e-05/0.004277, allocations: 89.05 kB / 350.4 MB, free: 6 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.004295, allocations: 37.69 kB / 350.5 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/0.004297, allocations: 0 / 350.5 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.004307, allocations: 0 / 350.5 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.71e-07/0.004307, allocations: 0 / 350.5 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.00431, allocations: 0 / 350.5 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.223e-05/0.004322, allocations: 3.938 kB / 350.5 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.004326, allocations: 0 / 350.5 MB, free: 5.953 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/0.004375, allocations: 186.3 kB / 350.7 MB, free: 5.754 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.004383, allocations: 4.031 kB / 350.7 MB, free: 5.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.031e-06/0.004389, allocations: 7 kB / 350.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.00439, allocations: 0 / 350.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.004392, allocations: 0 / 350.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-06/0.004394, allocations: 0 / 350.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.882e-05/0.004432, allocations: 116.5 kB / 350.8 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.004433, allocations: 0 / 350.8 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.004434, allocations: 4 kB / 350.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.004435, allocations: 0 / 350.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.004448, allocations: 0 / 350.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.004449, allocations: 0 / 350.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004449, allocations: 4 kB / 350.8 MB, free: 5.586 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.067e-05/0.00452, allocations: 143.7 kB / 350.9 MB, free: 5.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-06/0.004524, allocations: 4 kB / 350.9 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-06/0.004533, allocations: 0 / 350.9 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-06/0.004541, allocations: 0 / 350.9 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.122e-05/0.004552, allocations: 0 / 350.9 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.004555, allocations: 4 kB / 350.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.275e-05/0.004578, allocations: 123.2 kB / 351.1 MB, free: 5.281 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004578, allocations: 0 / 351.1 MB, free: 5.281 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.00482, allocations: 51.86 kB / 351.1 MB, free: 5.23 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003667/0.005187, allocations: 204.4 kB / 351.3 MB, free: 5.031 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.061e-05/0.005277, allocations: 126.4 kB / 351.4 MB, free: 4.879 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.005278, allocations: 0 / 351.4 MB, free: 4.879 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.00531, allocations: 92.8 kB / 351.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.005425, allocations: 0 / 351.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001156/0.00554, allocations: 113.6 kB / 351.6 MB, free: 4.621 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.97e-05/0.00556, allocations: 59.48 kB / 351.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.936e-06/0.005563, allocations: 0 / 351.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-06/0.005571, allocations: 12.5 kB / 351.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of SimCode: time 4.1e-07/0.005571, allocations: 0 / 351.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of Templates: time 0.003762/0.009333, allocations: 1.471 MB / 353.2 MB, free: 3.062 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.796881777001545]