Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009373/0.0009373, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009539/0.0009539, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9603/0.9603, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2882/0.2882, allocations: 34.26 MB / 295.7 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 378 MB, free: 2.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.338e-05, allocations: 2.312 kB / 378 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001155/0.001178, allocations: 0.5163 MB / 378.5 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005547/0.001733, allocations: 378.9 kB / 378.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.606e-06/0.001741, allocations: 0 / 378.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.336e-06/0.00175, allocations: 0 / 378.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.676e-06/0.001752, allocations: 0 / 378.9 MB, free: 1.805 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:38:3-118:23:writable] Warning: Pure function 'ModelicaTest.Math.BooleanFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.002244, allocations: 219.2 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 2.412e-05/0.002268, allocations: 4 kB / 379.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.667e-05/0.002284, allocations: 4 kB / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.269e-05/0.002297, allocations: 0 / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.638e-06/0.002307, allocations: 0 / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.14e-06/0.002312, allocations: 3.984 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.002555, allocations: 223.5 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.002626, allocations: 7.922 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.05e-05/0.002636, allocations: 0 / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.002806, allocations: 175.6 kB / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.002807, allocations: 0 / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002808, allocations: 0 / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.002811, allocations: 4 kB / 379.5 MB, free: 1.176 MB / 346.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.0001994/0.00301, allocations: 393.9 kB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.507e-05/0.003035, allocations: 8.031 kB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.857e-05/0.003054, allocations: 4.938 kB / 379.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.967e-05/0.003094, allocations: 104.6 kB / 380 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-06/0.003099, allocations: 384 / 380 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-06/0.003104, allocations: 4.312 kB / 380 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.064e-05/0.003155, allocations: 63.95 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-06/0.003158, allocations: 192 / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-06/0.003163, allocations: 384 / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.003166, allocations: 4.375 kB / 380.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.779e-05/0.003184, allocations: 37.58 kB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.802e-05/0.003242, allocations: 108.6 kB / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.156e-05/0.003273, allocations: 56.78 kB / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.003289, allocations: 33.39 kB / 380.3 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-06/0.003292, allocations: 4.062 kB / 380.3 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.003317, allocations: 63.09 kB / 380.4 MB, free: 144 kB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/0.003318, allocations: 3.984 kB / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001073/0.003425, allocations: 118.7 kB / 380.5 MB, free: 16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.003454, allocations: 77.23 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.507e-05/0.003489, allocations: 150.2 kB / 380.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.533e-06/0.003495, allocations: 25.7 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.003521, allocations: 126.9 kB / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.003532, allocations: 4.297 kB / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.003552, allocations: 23.38 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000256/0.003808, allocations: 496.1 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.00382, allocations: 25.7 kB / 381.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.066e-05/0.00383, allocations: 29.69 kB / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.263e-05/0.003863, allocations: 63.09 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.003864, allocations: 4.062 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.809e-05/0.003912, allocations: 93.05 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.003933, allocations: 37.69 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-06/0.003935, allocations: 0 / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-06/0.003941, allocations: 0 / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.395e-06/0.003944, allocations: 4 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.003946, allocations: 0 / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-06/0.003956, allocations: 3.938 kB / 381.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.00396, allocations: 4 kB / 381.7 MB, free: 14.74 MB / 362.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 5.62e-05/0.004016, allocations: 178.3 kB / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-06/0.004022, allocations: 8.031 kB / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-06/0.004029, allocations: 3 kB / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-07/0.004029, allocations: 0 / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.004031, allocations: 3.938 kB / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.004034, allocations: 3.984 kB / 381.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.486e-05/0.004079, allocations: 116.6 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-07/0.004079, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-07/0.00408, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.00408, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-06/0.004084, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.004084, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.004086, allocations: 7.938 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.402e-05/0.00415, allocations: 131.8 kB / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-06/0.004154, allocations: 4 kB / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-06/0.004162, allocations: 0 / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.288e-06/0.004166, allocations: 0 / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-06/0.004173, allocations: 0 / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-06/0.004174, allocations: 4 kB / 382.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.007e-05/0.004204, allocations: 119.2 kB / 382.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004204, allocations: 0 / 382.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001722/0.004376, allocations: 55.86 kB / 382.3 MB, free: 14.03 MB / 362.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.0002679/0.004644, allocations: 211.6 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.055e-05/0.004715, allocations: 118.4 kB / 382.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.004716, allocations: 0 / 382.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.94e-05/0.004745, allocations: 92.78 kB / 382.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.558e-05/0.004821, allocations: 4 kB / 382.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001089/0.00493, allocations: 113.8 kB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.201e-05/0.004952, allocations: 59.34 kB / 382.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.246e-06/0.004955, allocations: 0 / 382.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.208e-06/0.004964, allocations: 12.44 kB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of SimCode: time 4.3e-07/0.004965, allocations: 4 kB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of Templates: time 0.002514/0.007479, allocations: 1.585 MB / 384.5 MB, free: 11.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.0992162697948515]