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.001784/0.001784, allocations: 85.28 kB / 20.68 MB, free: 1.035 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.001821/0.001821, allocations: 164.9 kB / 23.95 MB, free: 4.168 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.422/1.422, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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.2003/0.2003, allocations: 32.81 MB / 293.5 MB, free: 60 kB / 270.1 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.282e-06/1.282e-06, allocations: 0 / 440.1 MB, free: 8.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.418e-05, allocations: 2.281 kB / 440.1 MB, free: 8.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001393/0.001417, allocations: 0.4923 MB / 440.6 MB, free: 7.723 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008878/0.002305, allocations: 382.6 kB / 440.9 MB, free: 7.348 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.45e-05/0.00232, allocations: 0 / 440.9 MB, free: 7.348 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.108e-05/0.002331, allocations: 0 / 440.9 MB, free: 7.348 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.969e-06/0.002336, allocations: 0 / 440.9 MB, free: 7.348 MB / 366.1 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.001058/0.003393, allocations: 205.9 kB / 441.1 MB, free: 7.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.649e-05/0.00345, allocations: 4 kB / 441.1 MB, free: 7.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.00349, allocations: 11.94 kB / 441.2 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.734e-05/0.003517, allocations: 3.984 kB / 441.2 MB, free: 7.129 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.909e-05/0.003536, allocations: 0 / 441.2 MB, free: 7.129 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.624e-06/0.003544, allocations: 0 / 441.2 MB, free: 7.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005754/0.004119, allocations: 223.5 kB / 441.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.895e-06/0.004127, allocations: 0 / 441.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.004147, allocations: 0 / 441.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.004565, allocations: 187.5 kB / 441.6 MB, free: 6.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.004569, allocations: 0 / 441.6 MB, free: 6.727 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.00457, allocations: 0 / 441.6 MB, free: 6.727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.004575, allocations: 0 / 441.6 MB, free: 6.727 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.0004375/0.005012, allocations: 295.9 kB / 441.8 MB, free: 6.398 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.005053, allocations: 8.031 kB / 441.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.005088, allocations: 0.9375 kB / 441.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.005208, allocations: 109.7 kB / 442 MB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.005223, allocations: 384 / 442 MB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.005237, allocations: 384 / 442 MB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.005372, allocations: 55.97 kB / 442 MB, free: 6.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.005385, allocations: 4.172 kB / 442 MB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.005393, allocations: 384 / 442 MB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.005404, allocations: 4.359 kB / 442 MB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.444e-05/0.005448, allocations: 33.64 kB / 442.1 MB, free: 6.145 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.005593, allocations: 105.3 kB / 442.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.727e-05/0.005681, allocations: 48.25 kB / 442.2 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.922e-05/0.00572, allocations: 30.56 kB / 442.2 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.00573, allocations: 0 / 442.2 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.712e-05/0.005797, allocations: 60.33 kB / 442.3 MB, free: 5.836 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.005798, allocations: 0 / 442.3 MB, free: 5.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002454/0.006044, allocations: 118.8 kB / 442.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.006109, allocations: 77.11 kB / 442.5 MB, free: 5.602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.494e-05/0.006174, allocations: 89.86 kB / 442.6 MB, free: 5.504 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.006197, allocations: 25.83 kB / 442.6 MB, free: 5.473 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.006249, allocations: 84.14 kB / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.006273, allocations: 11.94 kB / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.006317, allocations: 13.72 kB / 442.7 MB, free: 5.355 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.006496, allocations: 318.7 kB / 443 MB, free: 5.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.663e-05/0.006533, allocations: 33.64 kB / 443.1 MB, free: 4.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.151e-05/0.006564, allocations: 25.7 kB / 443.1 MB, free: 4.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.45e-05/0.006659, allocations: 60.27 kB / 443.1 MB, free: 4.891 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.006661, allocations: 0 / 443.1 MB, free: 4.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001456/0.006807, allocations: 93.09 kB / 443.2 MB, free: 4.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.378e-05/0.006851, allocations: 33.8 kB / 443.3 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.006858, allocations: 3.984 kB / 443.3 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.006873, allocations: 0 / 443.3 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.006874, allocations: 4 kB / 443.3 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.006878, allocations: 0 / 443.3 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.006902, allocations: 3.938 kB / 443.3 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.006909, allocations: 3.938 kB / 443.3 MB, free: 4.727 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 0.000123/0.007032, allocations: 139.5 kB / 443.4 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.007045, allocations: 0 / 443.4 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.156e-05/0.007056, allocations: 3 kB / 443.4 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.007058, allocations: 4 kB / 443.4 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.007062, allocations: 0 / 443.4 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.007064, allocations: 0 / 443.4 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.00717, allocations: 105.3 kB / 443.5 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007171, allocations: 0 / 443.5 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-06/0.007174, allocations: 3.984 kB / 443.5 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.007176, allocations: 0 / 443.5 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.007187, allocations: 7.938 kB / 443.5 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.007193, allocations: 4 kB / 443.5 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007194, allocations: 0 / 443.5 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.007353, allocations: 124.5 kB / 443.7 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-06/0.007361, allocations: 4 kB / 443.7 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.007374, allocations: 0 / 443.7 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.339e-05/0.007388, allocations: 0 / 443.7 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.00741, allocations: 7.938 kB / 443.7 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.007413, allocations: 0 / 443.7 MB, free: 4.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.708e-05/0.00746, allocations: 75.28 kB / 443.7 MB, free: 4.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.007461, allocations: 0 / 443.7 MB, free: 4.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000479/0.00794, allocations: 55.86 kB / 443.8 MB, free: 4.125 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.0005799/0.00852, allocations: 211.7 kB / 444 MB, free: 3.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.008671, allocations: 110.8 kB / 444.1 MB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.008679, allocations: 0 / 444.1 MB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.181e-05/0.008761, allocations: 85.11 kB / 444.2 MB, free: 3.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.008969, allocations: 4 kB / 444.2 MB, free: 3.676 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.009211, allocations: 106.6 kB / 444.3 MB, free: 3.539 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.806e-05/0.009269, allocations: 51.36 kB / 444.4 MB, free: 3.469 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.941e-06/0.009275, allocations: 0 / 444.4 MB, free: 3.469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.009296, allocations: 16.62 kB / 444.4 MB, free: 3.453 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.009296, allocations: 3.938 kB / 444.4 MB, free: 3.449 MB / 366.1 MB Notification: Performance of Templates: time 0.006198/0.01549, allocations: 1.56 MB / 445.9 MB, free: 1.895 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.584562964737415]