Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007926/0.0007926, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001222/0.002015, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007479/0.0007479, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001807, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.023/1.023, allocations: 177.5 MB / 190 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09372/1.117, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.282/0.282, allocations: 34.89 MB / 279.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02707/0.3091, allocations: 13.24 MB / 292.8 MB, free: 6.418 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 294.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.035e-05, allocations: 4.984 kB / 294.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.00114/0.001161, allocations: 0.5445 MB / 294.6 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004867/0.001647, allocations: 384 kB / 295 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.246e-05/0.00166, allocations: 0 / 295 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.516e-06/0.001663, allocations: 4 kB / 295 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.31e-07/0.001664, allocations: 0 / 295 MB, free: 4.211 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0005384/0.002202, allocations: 196.1 kB / 295.2 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.726e-05/0.00225, allocations: 4 kB / 295.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.002282, allocations: 11.92 kB / 295.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.66e-05/0.002308, allocations: 0 / 295.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.801e-05/0.002326, allocations: 0 / 295.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.63e-06/0.002332, allocations: 0 / 295.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.002655, allocations: 235.5 kB / 295.4 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.002664, allocations: 3.938 kB / 295.5 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.11e-05/0.002675, allocations: 0 / 295.5 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.002847, allocations: 143.7 kB / 295.6 MB, free: 3.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.002856, allocations: 3.984 kB / 295.6 MB, free: 3.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002857, allocations: 0 / 295.6 MB, free: 3.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.365e-06/0.002865, allocations: 0 / 295.6 MB, free: 3.625 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.0002563/0.003121, allocations: 286.1 kB / 295.9 MB, free: 3.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.003151, allocations: 15.42 kB / 295.9 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.003183, allocations: 8.875 kB / 295.9 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.43e-05/0.003238, allocations: 101.8 kB / 296 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.003247, allocations: 384 / 296 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.003255, allocations: 384 / 296 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.085e-05/0.003316, allocations: 59.97 kB / 296.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.003321, allocations: 192 / 296.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.949e-06/0.003326, allocations: 384 / 296.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.003331, allocations: 384 / 296.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.594e-05/0.003347, allocations: 37.62 kB / 296.1 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.141e-05/0.003409, allocations: 61.08 kB / 296.2 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.452e-05/0.003443, allocations: 44.22 kB / 296.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.003457, allocations: 34.62 kB / 296.2 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-06/0.00346, allocations: 0 / 296.2 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.00349, allocations: 56.27 kB / 296.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.003491, allocations: 0 / 296.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001004/0.003591, allocations: 118.8 kB / 296.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.003645, allocations: 158.2 kB / 296.6 MB, free: 2.477 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.882e-05/0.003674, allocations: 93.86 kB / 296.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.003683, allocations: 25.7 kB / 296.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.785e-05/0.003701, allocations: 84.14 kB / 296.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.003721, allocations: 0.6875 kB / 296.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.003745, allocations: 17.7 kB / 296.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.473e-05/0.00381, allocations: 318.8 kB / 297.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.003824, allocations: 25.7 kB / 297.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.151e-05/0.003835, allocations: 33.83 kB / 297.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.8e-05/0.003873, allocations: 60.27 kB / 297.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.003876, allocations: 3.984 kB / 297.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.257e-05/0.003918, allocations: 81.11 kB / 297.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.003949, allocations: 37.64 kB / 297.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.003952, allocations: 0 / 297.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.003963, allocations: 0 / 297.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-06/0.003965, allocations: 0 / 297.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-06/0.003968, allocations: 3.938 kB / 297.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.345e-05/0.003981, allocations: 0 / 297.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.003991, allocations: 16.06 kB / 297.3 MB, free: 1.605 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 5.392e-05/0.004045, allocations: 135.5 kB / 297.5 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-06/0.004051, allocations: 4 kB / 297.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.504e-06/0.004058, allocations: 3 kB / 297.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.004059, allocations: 0 / 297.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.00406, allocations: 0 / 297.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.004062, allocations: 0 / 297.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.161e-05/0.004104, allocations: 69.84 kB / 297.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.004105, allocations: 0 / 297.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-06/0.004106, allocations: 3.984 kB / 297.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-06/0.00411, allocations: 8.516 kB / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.004111, allocations: 0 / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-06/0.004114, allocations: 0 / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.004115, allocations: 0 / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.004117, allocations: 4 kB / 297.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.176e-05/0.004179, allocations: 120.4 kB / 297.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.004188, allocations: 0 / 297.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.619e-06/0.004193, allocations: 0 / 297.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-06/0.0042, allocations: 4 kB / 297.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.004202, allocations: 0 / 297.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.021e-06/0.004208, allocations: 4.859 kB / 297.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004208, allocations: 4.031 kB / 297.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001851/0.004393, allocations: 55.86 kB / 297.7 MB, free: 1.133 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.0003125/0.004706, allocations: 188.5 kB / 297.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.036e-05/0.004786, allocations: 123.6 kB / 298.1 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.004789, allocations: 0 / 298.1 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.946e-05/0.004818, allocations: 90.06 kB / 298.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.644e-05/0.004865, allocations: 16.02 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001285/0.004993, allocations: 108.9 kB / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.422e-05/0.005018, allocations: 55.3 kB / 298.3 MB, free: 480 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.041e-06/0.005024, allocations: 3.984 kB / 298.3 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.005054, allocations: 51.38 kB / 298.4 MB, free: 424 kB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.005055, allocations: 0 / 298.4 MB, free: 424 kB / 282.7 MB Notification: Performance of Templates: time 0.003125/0.008179, allocations: 1.951 MB / 300.3 MB, free: 14.47 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9188987342640758]