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/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.0009681/0.0009681, allocations: 83.59 kB / 21.18 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.001025/0.001025, allocations: 165 kB / 24.56 MB, free: 12 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 1.088/1.088, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2852/0.2852, allocations: 32.8 MB / 294.3 MB, free: 1.266 MB / 266.7 MB " [Timeout remaining time 180] 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 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.0.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.875e-05, allocations: 6.25 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0009955/0.001014, allocations: 0.5007 MB / 376.5 MB, free: 4.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007283/0.001743, allocations: 382.9 kB / 376.9 MB, free: 3.805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.58e-05/0.001758, allocations: 0 / 376.9 MB, free: 3.805 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.001778, allocations: 3.938 kB / 376.9 MB, free: 3.801 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.821e-06/0.001784, allocations: 0 / 376.9 MB, free: 3.801 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0009241/0.002708, allocations: 219.2 kB / 377.1 MB, free: 3.586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.577e-05/0.002774, allocations: 0 / 377.1 MB, free: 3.586 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.002814, allocations: 4 kB / 377.1 MB, free: 3.582 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.789e-05/0.002852, allocations: 0 / 377.1 MB, free: 3.582 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.843e-05/0.002881, allocations: 7.984 kB / 377.1 MB, free: 3.574 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.002891, allocations: 0 / 377.1 MB, free: 3.574 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003868/0.003278, allocations: 227.5 kB / 377.3 MB, free: 3.352 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.003294, allocations: 4 kB / 377.3 MB, free: 3.348 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.00332, allocations: 0 / 377.3 MB, free: 3.348 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.003572, allocations: 179.6 kB / 377.5 MB, free: 3.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.003575, allocations: 0 / 377.5 MB, free: 3.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003576, allocations: 0 / 377.5 MB, free: 3.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.003583, allocations: 0 / 377.5 MB, free: 3.172 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.00039/0.003973, allocations: 397.8 kB / 377.9 MB, free: 2.738 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.004015, allocations: 8.031 kB / 377.9 MB, free: 2.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.004064, allocations: 4.922 kB / 377.9 MB, free: 2.727 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.608e-05/0.00414, allocations: 112.6 kB / 378 MB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.004157, allocations: 384 / 378 MB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.004166, allocations: 384 / 378 MB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.004281, allocations: 59.97 kB / 378.1 MB, free: 2.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.004291, allocations: 4.125 kB / 378.1 MB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.004302, allocations: 384 / 378.1 MB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.004311, allocations: 384 / 378.1 MB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.515e-05/0.004336, allocations: 37.64 kB / 378.1 MB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.004441, allocations: 108.6 kB / 378.2 MB, free: 2.332 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.699e-05/0.004498, allocations: 52.8 kB / 378.3 MB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.331e-05/0.004521, allocations: 33.39 kB / 378.3 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.004527, allocations: 0 / 378.3 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.004757, allocations: 67.16 kB / 378.4 MB, free: 2.137 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.004758, allocations: 0 / 378.4 MB, free: 2.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002186/0.004976, allocations: 118.7 kB / 378.5 MB, free: 1.996 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.005027, allocations: 77.11 kB / 378.6 MB, free: 1.902 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.754e-05/0.005085, allocations: 142.2 kB / 378.7 MB, free: 1.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.005097, allocations: 29.83 kB / 378.7 MB, free: 1.715 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.005132, allocations: 126.9 kB / 378.9 MB, free: 1.586 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.005158, allocations: 12.3 kB / 378.9 MB, free: 1.574 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.005186, allocations: 15.38 kB / 378.9 MB, free: 1.551 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.005327, allocations: 0.4883 MB / 379.4 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.00535, allocations: 29.7 kB / 379.4 MB, free: 1.016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.493e-05/0.005364, allocations: 25.7 kB / 379.4 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.39e-05/0.005418, allocations: 67.03 kB / 379.5 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.005421, allocations: 3.938 kB / 379.5 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.711e-05/0.005508, allocations: 97.16 kB / 379.6 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.005541, allocations: 29.7 kB / 379.6 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.005547, allocations: 0 / 379.6 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.005562, allocations: 4 kB / 379.6 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-06/0.005567, allocations: 0 / 379.6 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.005575, allocations: 0 / 379.6 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.005588, allocations: 3.938 kB / 379.6 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.005596, allocations: 0 / 379.6 MB, free: 0.7422 MB / 346.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 8.804e-05/0.005684, allocations: 182.3 kB / 379.8 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-06/0.005691, allocations: 3.984 kB / 379.8 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.608e-06/0.0057, allocations: 7.031 kB / 379.8 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.005703, allocations: 0 / 379.8 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.005708, allocations: 4 kB / 379.8 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.005713, allocations: 0 / 379.8 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.49e-05/0.005788, allocations: 112.6 kB / 379.9 MB, free: 400 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.005788, allocations: 0 / 379.9 MB, free: 400 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-06/0.00579, allocations: 7.938 kB / 379.9 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.005792, allocations: 0 / 379.9 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.005801, allocations: 4 kB / 379.9 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.005801, allocations: 0 / 379.9 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.005805, allocations: 3.984 kB / 379.9 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.159e-05/0.005896, allocations: 131.8 kB / 380.1 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-06/0.005902, allocations: 3.984 kB / 380.1 MB, free: 212 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.00592, allocations: 7.984 kB / 380.1 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.28e-06/0.005925, allocations: 0 / 380.1 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.005942, allocations: 0 / 380.1 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.005945, allocations: 0 / 380.1 MB, free: 204 kB / 346.7 MB Notification: Performance of sorting global known variables: time 3.73e-05/0.005982, allocations: 119.2 kB / 380.2 MB, free: 84 kB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005982, allocations: 4 kB / 380.2 MB, free: 80 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002607/0.006243, allocations: 51.88 kB / 380.3 MB, free: 28 kB / 346.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.0004307/0.006673, allocations: 204.8 kB / 380.5 MB, free: 15.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.006829, allocations: 126.4 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.006832, allocations: 0 / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.14e-05/0.006873, allocations: 88.8 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.006988, allocations: 4 kB / 380.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.007261, allocations: 113.6 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.714e-05/0.007309, allocations: 55.36 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.015e-06/0.007317, allocations: 4.125 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.00734, allocations: 8.5 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.007341, allocations: 0 / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of Templates: time 0.00537/0.01271, allocations: 1.859 MB / 382.7 MB, free: 13.47 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] 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","",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.054149490315467]