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.001222/0.001222, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002671, 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.0007353/0.0007353, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001788, 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.039/1.039, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08643/1.125, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2636/0.2636, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02088/0.2845, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.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.573e-06/1.573e-06, allocations: 0 / 292.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.331e-05, allocations: 3.078 kB / 292.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001569/0.001592, allocations: 0.5554 MB / 293.2 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007378/0.00233, allocations: 379.4 kB / 293.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.442e-05/0.002345, allocations: 0 / 293.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.558e-06/0.002349, allocations: 0 / 293.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.283e-06/0.00235, allocations: 0 / 293.5 MB, free: 5.402 MB / 282.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.0007156/0.003066, allocations: 196 kB / 293.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.003127, allocations: 8.438 kB / 293.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.00317, allocations: 11.98 kB / 293.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.538e-05/0.003206, allocations: 0 / 293.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.279e-05/0.003229, allocations: 0 / 293.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.595e-06/0.003236, allocations: 0 / 293.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004448/0.003681, allocations: 231.5 kB / 294 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.907e-06/0.00369, allocations: 0 / 294 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.491e-05/0.003705, allocations: 4 kB / 294 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.003968, allocations: 147.6 kB / 294.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.519e-05/0.003984, allocations: 0 / 294.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.003985, allocations: 0 / 294.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.004002, allocations: 4 kB / 294.1 MB, free: 4.812 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.0003719/0.004374, allocations: 290.1 kB / 294.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.004412, allocations: 12.03 kB / 294.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.004448, allocations: 0.9375 kB / 294.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.604e-05/0.004524, allocations: 105.8 kB / 294.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.004536, allocations: 384 / 294.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-06/0.004542, allocations: 4.375 kB / 294.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.252e-05/0.004625, allocations: 55.95 kB / 294.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.004633, allocations: 4.188 kB / 294.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-06/0.00464, allocations: 384 / 294.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.004645, allocations: 4.375 kB / 294.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.504e-05/0.00467, allocations: 33.58 kB / 294.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.464e-05/0.004745, allocations: 57.05 kB / 294.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.097e-05/0.004796, allocations: 44.31 kB / 294.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.004816, allocations: 34.55 kB / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-06/0.004819, allocations: 0 / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.004862, allocations: 68.33 kB / 294.8 MB, free: 3.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.004863, allocations: 0 / 294.8 MB, free: 3.984 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001342/0.004997, allocations: 114.7 kB / 294.9 MB, free: 3.848 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.00504, allocations: 85.23 kB / 295 MB, free: 3.746 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.815e-05/0.005078, allocations: 89.86 kB / 295.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.005089, allocations: 25.7 kB / 295.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.349e-05/0.005113, allocations: 80.14 kB / 295.2 MB, free: 3.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.005131, allocations: 0.6875 kB / 295.2 MB, free: 3.535 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.005161, allocations: 13.72 kB / 295.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.005252, allocations: 314.8 kB / 295.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.005271, allocations: 25.7 kB / 295.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.005286, allocations: 29.7 kB / 295.6 MB, free: 3.133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.242e-05/0.005338, allocations: 72.23 kB / 295.7 MB, free: 3.047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.005341, allocations: 4.062 kB / 295.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.764e-05/0.005418, allocations: 88.98 kB / 295.7 MB, free: 2.938 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.005462, allocations: 37.69 kB / 295.8 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005466, allocations: 0 / 295.8 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.005475, allocations: 0 / 295.8 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.859e-06/0.005479, allocations: 0 / 295.8 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.005482, allocations: 0 / 295.8 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.917e-05/0.005501, allocations: 0 / 295.8 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.005508, allocations: 4 kB / 295.8 MB, free: 2.891 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 7.319e-05/0.005581, allocations: 135.5 kB / 295.9 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.005591, allocations: 8.031 kB / 295.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.044e-05/0.005601, allocations: 3 kB / 295.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.005604, allocations: 0 / 295.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.005608, allocations: 3.984 kB / 295.9 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.00561, allocations: 0 / 295.9 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.993e-05/0.00567, allocations: 65.84 kB / 296 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.005672, allocations: 0 / 296 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/0.005673, allocations: 0 / 296 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-06/0.005677, allocations: 0 / 296 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.00568, allocations: 0 / 296 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.005687, allocations: 7.984 kB / 296 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.00569, allocations: 7.938 kB / 296 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.005691, allocations: 0 / 296 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.299e-05/0.005784, allocations: 112.5 kB / 296.1 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.005799, allocations: 4 kB / 296.1 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.023e-05/0.005809, allocations: 4 kB / 296.1 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-06/0.005818, allocations: 0 / 296.1 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.005823, allocations: 3.984 kB / 296.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.933e-06/0.005829, allocations: 4.859 kB / 296.1 MB, free: 2.473 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.00583, allocations: 0 / 296.1 MB, free: 2.473 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002457/0.006075, allocations: 51.88 kB / 296.2 MB, free: 2.422 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.0004911/0.006566, allocations: 213.9 kB / 296.4 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.006683, allocations: 115.6 kB / 296.5 MB, free: 2.082 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.006688, allocations: 4 kB / 296.5 MB, free: 2.078 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.151e-05/0.006729, allocations: 89.95 kB / 296.6 MB, free: 1.969 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.98e-05/0.006789, allocations: 6.344 kB / 296.6 MB, free: 1.965 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002096/0.006999, allocations: 117.2 kB / 296.7 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.542e-05/0.007034, allocations: 55.34 kB / 296.8 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.681e-06/0.00704, allocations: 0 / 296.8 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.007083, allocations: 51.38 kB / 296.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.007084, allocations: 0 / 296.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of Templates: time 0.00348/0.01056, allocations: 1.853 MB / 298.7 MB, free: 15.84 MB / 298.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 -ignoreHideResult -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: 2.7769438549876213]