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.001386/0.001386, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001471/0.001471, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.503/1.503, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.2164/0.2164, allocations: 34.28 MB / 295 MB, free: 14.56 MB / 286.1 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.673e-06/1.673e-06, allocations: 0 / 442.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.059e-05, allocations: 2.281 kB / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001512/0.001543, allocations: 0.4939 MB / 443.1 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009221/0.002465, allocations: 378.7 kB / 443.5 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.392e-05/0.002479, allocations: 0 / 443.5 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.002497, allocations: 0 / 443.5 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.371e-05/0.002511, allocations: 0 / 443.5 MB, free: 4.551 MB / 366.1 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.0008795/0.003391, allocations: 211.4 kB / 443.7 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.473e-05/0.003435, allocations: 4 kB / 443.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.003471, allocations: 0 / 443.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.509e-05/0.003496, allocations: 4 kB / 443.7 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.663e-05/0.003513, allocations: 0 / 443.7 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.474e-06/0.00352, allocations: 0 / 443.7 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.003933, allocations: 231.4 kB / 444 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.633e-06/0.003939, allocations: 0 / 444 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.003955, allocations: 0 / 444 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.004265, allocations: 183.6 kB / 444.1 MB, free: 3.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.004268, allocations: 0 / 444.1 MB, free: 3.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004268, allocations: 0 / 444.1 MB, free: 3.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.004272, allocations: 4 kB / 444.1 MB, free: 3.926 MB / 366.1 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.0004046/0.004677, allocations: 295.8 kB / 444.4 MB, free: 3.598 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.004714, allocations: 8.031 kB / 444.4 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.004748, allocations: 4.938 kB / 444.4 MB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.753e-05/0.004845, allocations: 105.8 kB / 444.5 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.004853, allocations: 384 / 444.5 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.004865, allocations: 384 / 444.5 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.004977, allocations: 63.89 kB / 444.6 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.004986, allocations: 192 / 444.6 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.004993, allocations: 384 / 444.6 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.004999, allocations: 4.359 kB / 444.6 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.491e-05/0.005094, allocations: 33.64 kB / 444.6 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.005217, allocations: 97.33 kB / 444.7 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.152e-05/0.005279, allocations: 52.31 kB / 444.8 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.005315, allocations: 34.55 kB / 444.8 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-06/0.005319, allocations: 0 / 444.8 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/0.005367, allocations: 56.27 kB / 444.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.005368, allocations: 4 kB / 444.9 MB, free: 3.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002102/0.005578, allocations: 118.8 kB / 445 MB, free: 2.891 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.005637, allocations: 81.05 kB / 445.1 MB, free: 2.793 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.239e-05/0.005689, allocations: 93.98 kB / 445.2 MB, free: 2.691 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.005707, allocations: 25.7 kB / 445.2 MB, free: 2.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.005744, allocations: 80.14 kB / 445.3 MB, free: 2.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.005764, allocations: 3.953 kB / 445.3 MB, free: 2.574 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.005796, allocations: 13.72 kB / 445.3 MB, free: 2.555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.005943, allocations: 314.8 kB / 445.6 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.051e-05/0.005974, allocations: 33.7 kB / 445.6 MB, free: 2.199 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.931e-05/0.005993, allocations: 25.7 kB / 445.7 MB, free: 2.168 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.151e-05/0.006054, allocations: 64.25 kB / 445.7 MB, free: 2.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.006056, allocations: 0 / 445.7 MB, free: 2.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.481e-05/0.006151, allocations: 93.17 kB / 445.8 MB, free: 1.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.006185, allocations: 37.58 kB / 445.9 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.006189, allocations: 0 / 445.9 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.006217, allocations: 3.984 kB / 445.9 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.006218, allocations: 0 / 445.9 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.006226, allocations: 4 kB / 445.9 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.006246, allocations: 7.938 kB / 445.9 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.006252, allocations: 0 / 445.9 MB, free: 1.922 MB / 366.1 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.672e-05/0.006349, allocations: 135.5 kB / 446 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-06/0.006357, allocations: 32 / 446 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.009e-05/0.006367, allocations: 7 kB / 446 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.006368, allocations: 0 / 446 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.006371, allocations: 0 / 446 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.006374, allocations: 0 / 446 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.28e-05/0.006467, allocations: 105.2 kB / 446.1 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.006468, allocations: 0 / 446.1 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.006468, allocations: 0 / 446.1 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.00647, allocations: 0 / 446.1 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.006477, allocations: 0 / 446.1 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.006478, allocations: 3.938 kB / 446.1 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006479, allocations: 0 / 446.1 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.006609, allocations: 128.4 kB / 446.2 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-06/0.006613, allocations: 4 kB / 446.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.006624, allocations: 0 / 446.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-06/0.006633, allocations: 0 / 446.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.006649, allocations: 0 / 446.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.006656, allocations: 8 kB / 446.2 MB, free: 1.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.743e-05/0.006694, allocations: 75.28 kB / 446.3 MB, free: 1.387 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.006694, allocations: 0 / 446.3 MB, free: 1.387 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.006979, allocations: 51.86 kB / 446.4 MB, free: 1.336 MB / 366.1 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.0004565/0.007436, allocations: 215.1 kB / 446.6 MB, free: 1.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.007579, allocations: 106.8 kB / 446.7 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.007581, allocations: 0 / 446.7 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.559e-05/0.007647, allocations: 89.08 kB / 446.8 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.007781, allocations: 7.234 kB / 446.8 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.007997, allocations: 106.5 kB / 446.9 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.234e-05/0.008049, allocations: 55.36 kB / 446.9 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.199e-06/0.008054, allocations: 4.125 kB / 446.9 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.618e-05/0.00807, allocations: 12.5 kB / 447 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.008071, allocations: 0 / 447 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of Templates: time 0.179/0.187, allocations: 1.558 MB / 448.5 MB, free: 19.02 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.918024379760027]