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.001293/0.001293, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002094/0.003387, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001321/0.001321, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001776/0.003098, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.032/1.032, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09525/1.127, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2833/0.2833, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02481/0.3081, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.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.764e-06/1.764e-06, allocations: 3.938 kB / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.479e-05, allocations: 3.297 kB / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001781/0.001806, allocations: 0.5433 MB / 291.1 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007666/0.002573, allocations: 395.8 kB / 291.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.002591, allocations: 0 / 291.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.83e-06/0.002597, allocations: 0 / 291.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.72e-07/0.002598, allocations: 0 / 291.5 MB, free: 6.965 MB / 282.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.0007755/0.003373, allocations: 192 kB / 291.7 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.409e-05/0.003447, allocations: 1.031 kB / 291.7 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.003491, allocations: 6.531 kB / 291.7 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.428e-05/0.003535, allocations: 1.375 kB / 291.7 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.644e-05/0.003562, allocations: 0 / 291.7 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.185e-06/0.00357, allocations: 0 / 291.7 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005142/0.004084, allocations: 242.3 kB / 292 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.004093, allocations: 0 / 292 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.004111, allocations: 5.094 kB / 292 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.00438, allocations: 150.8 kB / 292.1 MB, free: 6.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.004393, allocations: 0 / 292.1 MB, free: 6.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004393, allocations: 0 / 292.1 MB, free: 6.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.004406, allocations: 0 / 292.1 MB, free: 6.641 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.0004127/0.004818, allocations: 283.4 kB / 292.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.004862, allocations: 9.25 kB / 292.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.004912, allocations: 4 kB / 292.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.057e-05/0.004983, allocations: 105.8 kB / 292.5 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.004997, allocations: 4.375 kB / 292.5 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.005005, allocations: 3.031 kB / 292.5 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.005114, allocations: 61.75 kB / 292.6 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.005125, allocations: 4.172 kB / 292.6 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.005133, allocations: 1.594 kB / 292.6 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.005138, allocations: 384 / 292.6 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.18e-05/0.005159, allocations: 31.8 kB / 292.6 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.741e-05/0.005237, allocations: 55.05 kB / 292.7 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.44e-05/0.005291, allocations: 44.31 kB / 292.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.005311, allocations: 32.56 kB / 292.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-06/0.005316, allocations: 4 kB / 292.7 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.005357, allocations: 62.55 kB / 292.8 MB, free: 5.879 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.005357, allocations: 0 / 292.8 MB, free: 5.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001418/0.005499, allocations: 116.8 kB / 292.9 MB, free: 5.746 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.005539, allocations: 83.05 kB / 293 MB, free: 5.648 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.866e-05/0.005577, allocations: 89.86 kB / 293.1 MB, free: 5.551 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.005588, allocations: 25.7 kB / 293.1 MB, free: 5.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.005615, allocations: 82.14 kB / 293.2 MB, free: 5.438 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.005642, allocations: 0 / 293.2 MB, free: 5.438 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.005676, allocations: 15.7 kB / 293.2 MB, free: 5.418 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.005774, allocations: 320.9 kB / 293.5 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.005792, allocations: 25.7 kB / 293.5 MB, free: 5.066 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.541e-05/0.005807, allocations: 27.7 kB / 293.6 MB, free: 5.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.76e-05/0.005855, allocations: 68.19 kB / 293.6 MB, free: 4.957 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.005857, allocations: 0 / 293.6 MB, free: 4.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.598e-05/0.005913, allocations: 83.11 kB / 293.7 MB, free: 4.863 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/0.00596, allocations: 33.61 kB / 293.7 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.005966, allocations: 0 / 293.7 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.005977, allocations: 2 kB / 293.7 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-06/0.005981, allocations: 4.094 kB / 293.8 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.005986, allocations: 0 / 293.8 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.008e-05/0.006006, allocations: 8.672 kB / 293.8 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.006014, allocations: 2 kB / 293.8 MB, free: 4.82 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 6.317e-05/0.006077, allocations: 145.5 kB / 293.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-06/0.006081, allocations: 2 kB / 293.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.415e-06/0.00609, allocations: 6.938 kB / 293.9 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.006091, allocations: 0 / 293.9 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.006093, allocations: 2 kB / 293.9 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.006095, allocations: 0 / 293.9 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.884e-05/0.006144, allocations: 67.84 kB / 294 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.006146, allocations: 3.984 kB / 294 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-07/0.006146, allocations: 0 / 294 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-06/0.00615, allocations: 2 kB / 294 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-07/0.006151, allocations: 0 / 294 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.006156, allocations: 0 / 294 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.006156, allocations: 2.594 kB / 294 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.006157, allocations: 0 / 294 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.114e-05/0.006218, allocations: 116.9 kB / 294.1 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.006229, allocations: 1.375 kB / 294.1 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.899e-06/0.006234, allocations: 32 / 294.1 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-06/0.006241, allocations: 10.88 kB / 294.1 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-06/0.006243, allocations: 0 / 294.1 MB, free: 4.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.422e-06/0.006249, allocations: 4.859 kB / 294.1 MB, free: 4.422 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006249, allocations: 3.938 kB / 294.1 MB, free: 4.418 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002205/0.00647, allocations: 56.95 kB / 294.2 MB, free: 4.402 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.0003586/0.006828, allocations: 184.3 kB / 294.4 MB, free: 4.242 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.021e-05/0.006919, allocations: 131.6 kB / 294.5 MB, free: 4.086 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.006923, allocations: 0 / 294.5 MB, free: 4.086 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.612e-05/0.006949, allocations: 85.97 kB / 294.6 MB, free: 3.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.997e-05/0.006999, allocations: 9.969 kB / 294.6 MB, free: 3.973 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001636/0.007162, allocations: 109.3 kB / 294.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.758e-05/0.0072, allocations: 51.36 kB / 294.7 MB, free: 3.762 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.125e-06/0.007208, allocations: 4 kB / 294.7 MB, free: 3.758 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.007256, allocations: 55.36 kB / 294.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.007257, allocations: 0 / 294.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of Templates: time 0.003899/0.01116, allocations: 1.862 MB / 296.7 MB, free: 1.848 MB / 282.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 -ignoreHideResult -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: 2.8329870672896504]