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.001723/0.001723, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002323/0.002323, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.501/1.501, allocations: 230.6 MB / 258.2 MB, free: 7.75 MB / 206.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.2231/0.2231, allocations: 46.97 MB / 361.6 MB, free: 4.023 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 0.002006/0.002006, allocations: 63.91 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3246, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001561/0.3262, allocations: 0.492 MB / 0.5623 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000897/0.3271, allocations: 369.3 kB / 0.5626 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.41e-05/0.3271, allocations: 0 / 0.5626 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.3271, allocations: 0 / 0.5626 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.663e-06/0.3271, allocations: 0 / 0.5626 GB, free: 3.324 MB / 398.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.0008478/0.328, allocations: 211.4 kB / 0.5628 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.224e-05/0.328, allocations: 8 kB / 0.5628 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.3281, allocations: 0 / 0.5628 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.732e-05/0.3281, allocations: 7.984 kB / 0.5628 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.766e-05/0.3281, allocations: 0 / 0.5628 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.381e-06/0.3281, allocations: 0 / 0.5628 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.3285, allocations: 223.6 kB / 0.5631 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.3285, allocations: 4 kB / 0.5631 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.627e-05/0.3285, allocations: 0 / 0.5631 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.3288, allocations: 162 kB / 0.5632 GB, free: 2.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3288, allocations: 0 / 0.5632 GB, free: 2.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3288, allocations: 0 / 0.5632 GB, free: 2.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.3288, allocations: 4 kB / 0.5632 GB, free: 2.723 MB / 398.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.0003666/0.3292, allocations: 291.9 kB / 0.5635 GB, free: 2.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.3292, allocations: 12.02 kB / 0.5635 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.3292, allocations: 0.9375 kB / 0.5635 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.374e-05/0.3293, allocations: 106.5 kB / 0.5636 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.3293, allocations: 4.375 kB / 0.5636 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.3293, allocations: 4.312 kB / 0.5636 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.614e-05/0.3294, allocations: 59.97 kB / 0.5637 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3294, allocations: 192 / 0.5637 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3294, allocations: 3.938 kB / 0.5637 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3294, allocations: 4 kB / 0.5637 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.662e-05/0.3295, allocations: 25.7 kB / 0.5637 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.3296, allocations: 105.3 kB / 0.5638 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.771e-05/0.3296, allocations: 44.28 kB / 0.5639 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.3297, allocations: 38.59 kB / 0.5639 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.3297, allocations: 0 / 0.5639 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.3297, allocations: 60.2 kB / 0.5639 GB, free: 1.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.3297, allocations: 0 / 0.5639 GB, free: 1.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001817/0.3299, allocations: 122.7 kB / 0.5641 GB, free: 1.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.3299, allocations: 85.23 kB / 0.5641 GB, free: 1.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.51e-05/0.33, allocations: 93.86 kB / 0.5642 GB, free: 1.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.33, allocations: 25.7 kB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.33, allocations: 80.14 kB / 0.5643 GB, free: 1.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.3301, allocations: 0 / 0.5643 GB, free: 1.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.3301, allocations: 13.72 kB / 0.5643 GB, free: 1.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3302, allocations: 314.8 kB / 0.5646 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.3302, allocations: 29.64 kB / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.268e-05/0.3303, allocations: 33.7 kB / 0.5647 GB, free: 0.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.417e-05/0.3303, allocations: 60.27 kB / 0.5648 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3303, allocations: 4.062 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.324e-05/0.3304, allocations: 89.09 kB / 0.5649 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.3304, allocations: 29.7 kB / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3304, allocations: 0 / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3304, allocations: 0 / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.475e-06/0.3304, allocations: 3.938 kB / 0.5649 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.3304, allocations: 0 / 0.5649 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.3305, allocations: 7.938 kB / 0.5649 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.3305, allocations: 4 kB / 0.5649 GB, free: 0.7227 MB / 398.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 8.789e-05/0.3306, allocations: 139.5 kB / 0.565 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-06/0.3306, allocations: 8.031 kB / 0.565 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.056e-05/0.3306, allocations: 3 kB / 0.565 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3306, allocations: 3.938 kB / 0.565 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3306, allocations: 0 / 0.565 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.3306, allocations: 0 / 0.565 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.561e-05/0.3307, allocations: 97.33 kB / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3307, allocations: 0 / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3307, allocations: 0 / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.3307, allocations: 0 / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.3307, allocations: 0 / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3307, allocations: 3.984 kB / 0.5651 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.3307, allocations: 11.92 kB / 0.5652 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.3308, allocations: 112.5 kB / 0.5653 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.3308, allocations: 11.92 kB / 0.5653 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.3308, allocations: 0 / 0.5653 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-06/0.3308, allocations: 0 / 0.5653 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.3308, allocations: 7.938 kB / 0.5653 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3308, allocations: 8 kB / 0.5653 GB, free: 252 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.387e-05/0.3309, allocations: 79.22 kB / 0.5654 GB, free: 172 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3309, allocations: 0 / 0.5654 GB, free: 172 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.3311, allocations: 51.88 kB / 0.5654 GB, free: 120 kB / 398.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.0004128/0.3315, allocations: 196.3 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.3317, allocations: 114.8 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3317, allocations: 0 / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.866e-05/0.3317, allocations: 77.11 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.3318, allocations: 4 kB / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001817/0.332, allocations: 114.6 kB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.305e-05/0.3321, allocations: 63.47 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.21e-06/0.3321, allocations: 0 / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.117e-05/0.3321, allocations: 7.438 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3321, allocations: 0 / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Templates: time 0.004247/0.3363, allocations: 1.535 MB / 0.5675 GB, free: 13.92 MB / 414.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/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.892949418004719]