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.001472/0.001472, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001676/0.001676, allocations: 157.7 kB / 24.27 MB, free: 172 kB / 18.57 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.598/1.598, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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.3402/0.3402, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.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.974e-06/1.974e-06, allocations: 0 / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.363e-05, allocations: 2.312 kB / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001666/0.001699, allocations: 0.497 MB / 375.7 MB, free: 4.504 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.002742, allocations: 379 kB / 376.1 MB, free: 4.133 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.002759, allocations: 0 / 376.1 MB, free: 4.133 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.002773, allocations: 0 / 376.1 MB, free: 4.133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.261e-06/0.002779, allocations: 0 / 376.1 MB, free: 4.133 MB / 346.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.0009147/0.003694, allocations: 207.4 kB / 376.3 MB, free: 3.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.989e-05/0.003744, allocations: 0 / 376.3 MB, free: 3.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.00378, allocations: 7.984 kB / 376.3 MB, free: 3.922 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.686e-05/0.003806, allocations: 7.984 kB / 376.3 MB, free: 3.914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.953e-05/0.003826, allocations: 0 / 376.3 MB, free: 3.914 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.715e-06/0.003834, allocations: 0 / 376.3 MB, free: 3.914 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.004275, allocations: 223.5 kB / 376.5 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.106e-06/0.004283, allocations: 0 / 376.5 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.004306, allocations: 0 / 376.5 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.00461, allocations: 187.4 kB / 376.7 MB, free: 3.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004612, allocations: 0 / 376.7 MB, free: 3.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004613, allocations: 0 / 376.7 MB, free: 3.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.004617, allocations: 0 / 376.7 MB, free: 3.512 MB / 346.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.0004177/0.005034, allocations: 295.9 kB / 377 MB, free: 3.184 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.005078, allocations: 12.03 kB / 377 MB, free: 3.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.005122, allocations: 4.938 kB / 377 MB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.005223, allocations: 101.8 kB / 377.1 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.005237, allocations: 384 / 377.1 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-06/0.005244, allocations: 384 / 377.1 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.005354, allocations: 63.89 kB / 377.2 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.005362, allocations: 192 / 377.2 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.00537, allocations: 384 / 377.2 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.005374, allocations: 384 / 377.2 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.912e-05/0.005413, allocations: 33.64 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.005544, allocations: 101.3 kB / 377.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.933e-05/0.005613, allocations: 44.31 kB / 377.4 MB, free: 2.742 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.00565, allocations: 30.56 kB / 377.4 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.005662, allocations: 4.062 kB / 377.4 MB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.573e-05/0.005728, allocations: 64.19 kB / 377.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.005729, allocations: 0 / 377.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002607/0.005989, allocations: 114.8 kB / 377.6 MB, free: 2.484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.006063, allocations: 81.09 kB / 377.7 MB, free: 2.387 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.702e-05/0.00613, allocations: 93.86 kB / 377.7 MB, free: 2.285 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.00615, allocations: 29.64 kB / 377.8 MB, free: 2.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.006201, allocations: 84.27 kB / 377.9 MB, free: 2.164 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.006216, allocations: 0 / 377.9 MB, free: 2.164 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.00625, allocations: 17.72 kB / 377.9 MB, free: 2.141 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.006427, allocations: 314.8 kB / 378.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.006453, allocations: 25.7 kB / 378.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.006479, allocations: 29.7 kB / 378.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.005e-05/0.006549, allocations: 64.19 kB / 378.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.00655, allocations: 0 / 378.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.805e-05/0.006649, allocations: 89.11 kB / 378.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.006687, allocations: 37.8 kB / 378.4 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006692, allocations: 0 / 378.4 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.006708, allocations: 0 / 378.4 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.006709, allocations: 0 / 378.4 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.006713, allocations: 0 / 378.4 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.006734, allocations: 11.88 kB / 378.4 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.006742, allocations: 4 kB / 378.4 MB, free: 1.516 MB / 346.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 0.0001103/0.006853, allocations: 131.5 kB / 378.6 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.006864, allocations: 4 kB / 378.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.782e-05/0.006882, allocations: 3 kB / 378.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.006882, allocations: 0 / 378.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.006887, allocations: 7.938 kB / 378.6 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.006892, allocations: 3.984 kB / 378.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.006995, allocations: 109.2 kB / 378.7 MB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.006995, allocations: 0 / 378.7 MB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-06/0.006998, allocations: 4 kB / 378.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006999, allocations: 0 / 378.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.007006, allocations: 0 / 378.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.007007, allocations: 0 / 378.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007008, allocations: 0 / 378.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.007155, allocations: 124.5 kB / 378.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-06/0.007159, allocations: 4.031 kB / 378.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.007171, allocations: 0 / 378.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-06/0.007179, allocations: 0 / 378.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.007197, allocations: 4 kB / 378.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.0072, allocations: 0 / 378.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.638e-05/0.007246, allocations: 79.22 kB / 378.9 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007246, allocations: 0 / 378.9 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002911/0.007537, allocations: 55.86 kB / 379 MB, free: 0.9219 MB / 346.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.0005336/0.008071, allocations: 208.2 kB / 379.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.008227, allocations: 106.8 kB / 379.3 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.008229, allocations: 0 / 379.3 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.067e-05/0.008299, allocations: 85.11 kB / 379.3 MB, free: 500 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.008446, allocations: 10.66 kB / 379.4 MB, free: 492 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.008698, allocations: 104 kB / 379.5 MB, free: 352 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.644e-05/0.008774, allocations: 51.36 kB / 379.5 MB, free: 280 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.181e-06/0.008781, allocations: 0 / 379.5 MB, free: 280 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.008801, allocations: 12.5 kB / 379.5 MB, free: 268 kB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008801, allocations: 4.125 kB / 379.5 MB, free: 264 kB / 346.7 MB Notification: Performance of Templates: time 0.005053/0.01385, allocations: 1.599 MB / 381.1 MB, free: 14.66 MB / 362.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=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.820525088929571]