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.0009986/0.0009986, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.0009631/0.0009631, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 0.9989/0.9989, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] 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.1388/0.1388, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.523e-06/1.523e-06, allocations: 0 / 348.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.175e-05, allocations: 4.281 kB / 348.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0009486/0.0009703, allocations: 0.5159 MB / 348.6 MB, free: 8.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000625/0.001595, allocations: 347.7 kB / 349 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.001618, allocations: 0 / 349 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.001636, allocations: 0 / 349 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.333e-06/0.001643, allocations: 3.938 kB / 349 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000961/0.002604, allocations: 199.5 kB / 349.2 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.892e-05/0.002653, allocations: 0 / 349.2 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.002688, allocations: 4 kB / 349.2 MB, free: 8.133 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.728e-05/0.002715, allocations: 0 / 349.2 MB, free: 8.133 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.832e-05/0.002734, allocations: 4 kB / 349.2 MB, free: 8.129 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.843e-06/0.002741, allocations: 0 / 349.2 MB, free: 8.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.002983, allocations: 211.5 kB / 349.4 MB, free: 7.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.398e-06/0.002993, allocations: 4 kB / 349.4 MB, free: 7.918 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.445e-05/0.003007, allocations: 0 / 349.4 MB, free: 7.918 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.003184, allocations: 179.5 kB / 349.5 MB, free: 7.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003186, allocations: 0 / 349.5 MB, free: 7.742 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003186, allocations: 0 / 349.5 MB, free: 7.742 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.00319, allocations: 0 / 349.5 MB, free: 7.742 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.0002069/0.003397, allocations: 385.9 kB / 349.9 MB, free: 7.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.00344, allocations: 8.031 kB / 349.9 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.369e-05/0.003464, allocations: 8.938 kB / 349.9 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.716e-05/0.003501, allocations: 108.6 kB / 350 MB, free: 7.172 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.00351, allocations: 384 / 350 MB, free: 7.172 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-06/0.003515, allocations: 384 / 350.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.681e-05/0.003572, allocations: 55.97 kB / 350.1 MB, free: 7.105 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.003578, allocations: 8.109 kB / 350.1 MB, free: 7.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.003584, allocations: 4.312 kB / 350.1 MB, free: 7.094 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.003589, allocations: 384 / 350.1 MB, free: 7.094 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.044e-05/0.003599, allocations: 33.64 kB / 350.2 MB, free: 7.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.984e-05/0.003659, allocations: 93.27 kB / 350.2 MB, free: 6.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.395e-05/0.003693, allocations: 64.77 kB / 350.3 MB, free: 6.855 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.075e-05/0.003704, allocations: 33.39 kB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-06/0.003707, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.003734, allocations: 67.16 kB / 350.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.003735, allocations: 0 / 350.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001218/0.003857, allocations: 122.7 kB / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.003875, allocations: 77.11 kB / 350.6 MB, free: 6.492 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.528e-05/0.0039, allocations: 142.2 kB / 350.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5e-06/0.003905, allocations: 25.7 kB / 350.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.251e-05/0.003918, allocations: 131 kB / 350.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.003933, allocations: 7.938 kB / 350.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/0.003953, allocations: 15.38 kB / 350.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.632e-05/0.003999, allocations: 0.4883 MB / 351.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.004009, allocations: 29.69 kB / 351.4 MB, free: 5.609 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-06/0.004016, allocations: 25.7 kB / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.06e-05/0.004047, allocations: 71.03 kB / 351.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.004048, allocations: 0 / 351.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.796e-05/0.004086, allocations: 89.45 kB / 351.6 MB, free: 5.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.004107, allocations: 33.69 kB / 351.6 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.004111, allocations: 4.094 kB / 351.6 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.00412, allocations: 4 kB / 351.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.183e-06/0.004121, allocations: 0 / 351.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.726e-06/0.004124, allocations: 0 / 351.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.226e-06/0.004132, allocations: 0 / 351.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.004137, allocations: 0 / 351.7 MB, free: 5.34 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.586e-05/0.004183, allocations: 186.2 kB / 351.8 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-06/0.004188, allocations: 3.953 kB / 351.8 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.098e-05/0.004199, allocations: 3 kB / 351.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.0042, allocations: 0 / 351.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.004202, allocations: 11.98 kB / 351.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.004204, allocations: 0 / 351.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.091e-05/0.004245, allocations: 101.1 kB / 352 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.004246, allocations: 0 / 352 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.004247, allocations: 3.938 kB / 352 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-07/0.004247, allocations: 0 / 352 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-06/0.004251, allocations: 4 kB / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.004252, allocations: 0 / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.6e-07/0.004252, allocations: 0 / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.199e-05/0.004304, allocations: 131.8 kB / 352.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-06/0.004308, allocations: 4.031 kB / 352.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.004318, allocations: 4 kB / 352.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.017e-06/0.004322, allocations: 0 / 352.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-06/0.004331, allocations: 0 / 352.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-06/0.004332, allocations: 0 / 352.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.579e-05/0.004348, allocations: 127.2 kB / 352.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004348, allocations: 0 / 352.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001885/0.004536, allocations: 47.94 kB / 352.3 MB, free: 4.645 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.0002439/0.00478, allocations: 196.8 kB / 352.5 MB, free: 4.457 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.593e-05/0.004846, allocations: 122.4 kB / 352.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.004848, allocations: 0 / 352.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.537e-05/0.004863, allocations: 88.8 kB / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.055e-05/0.004944, allocations: 11.94 kB / 352.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001092/0.005053, allocations: 117.6 kB / 352.8 MB, free: 4.039 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.672e-05/0.00507, allocations: 51.36 kB / 352.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.079e-06/0.005075, allocations: 0 / 352.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.0051, allocations: 74.19 kB / 352.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.005101, allocations: 4.125 kB / 352.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of Templates: time 0.002839/0.00794, allocations: 1.733 MB / 354.7 MB, free: 2.156 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.216894289944321]