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.00105/0.00105, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001239/0.00229, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006999/0.0006999, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009411/0.001641, allocations: 479.5 kB / 11.83 MB, free: 2.344 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.112/1.112, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.104/1.216, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.2749/0.2749, allocations: 34.25 MB / 278.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02629/0.3011, allocations: 13.1 MB / 291.5 MB, free: 7.34 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.844e-06/1.844e-06, allocations: 0 / 292.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.038e-05, allocations: 5.297 kB / 292.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.002161/0.002191, allocations: 0.5603 MB / 293.4 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007681/0.002959, allocations: 383.9 kB / 293.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.584e-05/0.002975, allocations: 0 / 293.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.847e-06/0.002979, allocations: 0 / 293.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.363e-06/0.00298, allocations: 0 / 293.7 MB, free: 5.305 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.0007565/0.003737, allocations: 200.4 kB / 293.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.908e-05/0.003796, allocations: 8 kB / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.003832, allocations: 4 kB / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.359e-05/0.003866, allocations: 0 / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.431e-05/0.00389, allocations: 0 / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.735e-06/0.003898, allocations: 0 / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/0.004386, allocations: 239.5 kB / 294.2 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.004399, allocations: 0 / 294.2 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.004415, allocations: 0 / 294.2 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.004706, allocations: 151.6 kB / 294.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.004717, allocations: 0 / 294.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004718, allocations: 0 / 294.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.004729, allocations: 0 / 294.3 MB, free: 4.715 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.0004009/0.00513, allocations: 290.2 kB / 294.6 MB, free: 4.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.005183, allocations: 12.03 kB / 294.6 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.00524, allocations: 0.9375 kB / 294.6 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.00535, allocations: 105.8 kB / 294.7 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.005365, allocations: 384 / 294.7 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.00538, allocations: 4.375 kB / 294.7 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.005485, allocations: 51.97 kB / 294.8 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.005497, allocations: 4.188 kB / 294.8 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.005505, allocations: 4.359 kB / 294.8 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.005512, allocations: 4.312 kB / 294.8 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.878e-05/0.005541, allocations: 29.64 kB / 294.8 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.267e-05/0.005634, allocations: 57.05 kB / 294.9 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.782e-05/0.005692, allocations: 44.31 kB / 294.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.005714, allocations: 34.56 kB / 295 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.58e-06/0.00572, allocations: 0 / 295 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.00577, allocations: 60.33 kB / 295 MB, free: 3.898 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.005771, allocations: 0 / 295 MB, free: 3.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000156/0.005927, allocations: 118.7 kB / 295.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/0.006013, allocations: 158.2 kB / 295.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.574e-05/0.006059, allocations: 97.78 kB / 295.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.006073, allocations: 25.7 kB / 295.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.93e-05/0.006102, allocations: 80.14 kB / 295.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.006136, allocations: 0.6875 kB / 295.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.006178, allocations: 17.84 kB / 295.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.006287, allocations: 318.8 kB / 295.8 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.00631, allocations: 29.7 kB / 295.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.505e-05/0.006325, allocations: 25.7 kB / 295.9 MB, free: 2.938 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.203e-05/0.006387, allocations: 68.19 kB / 295.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.006389, allocations: 0 / 295.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.507e-05/0.006474, allocations: 89.11 kB / 296 MB, free: 2.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.006517, allocations: 29.7 kB / 296.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.006523, allocations: 0 / 296.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.006539, allocations: 4.094 kB / 296.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.468e-06/0.006544, allocations: 7.984 kB / 296.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.006547, allocations: 0 / 296.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.00657, allocations: 4 kB / 296.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.006579, allocations: 0 / 296.1 MB, free: 2.699 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 9.141e-05/0.00667, allocations: 135.5 kB / 296.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-06/0.006679, allocations: 4 kB / 296.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.231e-05/0.006691, allocations: 3 kB / 296.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.006694, allocations: 0 / 296.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.006696, allocations: 0 / 296.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.006699, allocations: 0 / 296.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.155e-05/0.00677, allocations: 73.83 kB / 296.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.006775, allocations: 0 / 296.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.715e-06/0.006777, allocations: 0 / 296.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.006785, allocations: 3.938 kB / 296.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.006788, allocations: 0 / 296.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.006794, allocations: 4 kB / 296.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.006797, allocations: 0 / 296.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.006798, allocations: 0 / 296.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.006908, allocations: 116.5 kB / 296.4 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.006924, allocations: 4 kB / 296.4 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.026e-05/0.006934, allocations: 4.031 kB / 296.4 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-06/0.006943, allocations: 0 / 296.4 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.006949, allocations: 7.938 kB / 296.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.306e-06/0.006957, allocations: 4.859 kB / 296.4 MB, free: 2.281 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006957, allocations: 0 / 296.4 MB, free: 2.281 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003091/0.007266, allocations: 51.86 kB / 296.5 MB, free: 2.23 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.0005166/0.007783, allocations: 206.7 kB / 296.7 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.007901, allocations: 123.6 kB / 296.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.007906, allocations: 0 / 296.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.614e-05/0.007953, allocations: 89.95 kB / 296.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.768e-05/0.00802, allocations: 7.938 kB / 296.9 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001889/0.008209, allocations: 109.1 kB / 297 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.67e-05/0.008246, allocations: 55.34 kB / 297.1 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.232e-06/0.008252, allocations: 4 kB / 297.1 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.0083, allocations: 51.38 kB / 297.1 MB, free: 1.504 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008301, allocations: 0 / 297.1 MB, free: 1.504 MB / 282.7 MB Notification: Performance of Templates: time 0.0056/0.0139, allocations: 1.968 MB / 299.1 MB, free: 15.54 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.904229724779725]