Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002149/0.002149, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001543/0.001543, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2143/0.2143, allocations: 34.27 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 442.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.184e-05, allocations: 2.281 kB / 442.6 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001708/0.00174, allocations: 0.5036 MB / 443.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009411/0.002681, allocations: 366.8 kB / 443.5 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.597e-05/0.002697, allocations: 0 / 443.5 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.002715, allocations: 0 / 443.5 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.00272, allocations: 0 / 443.5 MB, free: 4.457 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0009213/0.003642, allocations: 207.4 kB / 443.7 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.2e-05/0.003694, allocations: 7.984 kB / 443.7 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.003733, allocations: 0 / 443.7 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.528e-05/0.003758, allocations: 4 kB / 443.7 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.919e-05/0.003777, allocations: 4 kB / 443.7 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.003787, allocations: 4 kB / 443.7 MB, free: 4.234 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.00422, allocations: 219.5 kB / 443.9 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.895e-06/0.004228, allocations: 0 / 443.9 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.004245, allocations: 0 / 443.9 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.004566, allocations: 183.5 kB / 444.1 MB, free: 3.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004568, allocations: 0 / 444.1 MB, free: 3.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.004569, allocations: 0 / 444.1 MB, free: 3.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.004578, allocations: 0 / 444.1 MB, free: 3.84 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.0005012/0.005079, allocations: 291.9 kB / 444.4 MB, free: 3.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.005113, allocations: 8.031 kB / 444.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.005141, allocations: 4.938 kB / 444.4 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.185e-05/0.005233, allocations: 113.8 kB / 444.5 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.005241, allocations: 384 / 444.5 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.005253, allocations: 384 / 444.5 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.00537, allocations: 55.97 kB / 444.6 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.005378, allocations: 192 / 444.6 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.005385, allocations: 384 / 444.6 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.005389, allocations: 384 / 444.6 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.529e-05/0.005424, allocations: 37.58 kB / 444.6 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.005544, allocations: 97.31 kB / 444.7 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.432e-05/0.005619, allocations: 48.31 kB / 444.8 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.00565, allocations: 34.56 kB / 444.8 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-06/0.005654, allocations: 0 / 444.8 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.005707, allocations: 68.27 kB / 444.9 MB, free: 2.945 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.005708, allocations: 0 / 444.9 MB, free: 2.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002089/0.005917, allocations: 118.7 kB / 445 MB, free: 2.805 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.005978, allocations: 81.11 kB / 445.1 MB, free: 2.707 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.006117, allocations: 89.86 kB / 445.1 MB, free: 2.609 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.006134, allocations: 25.7 kB / 445.2 MB, free: 2.578 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.006172, allocations: 80.14 kB / 445.2 MB, free: 2.496 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.006193, allocations: 12.02 kB / 445.3 MB, free: 2.484 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.006221, allocations: 13.72 kB / 445.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.006431, allocations: 318.8 kB / 445.6 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.006458, allocations: 29.7 kB / 445.6 MB, free: 2.109 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/0.006478, allocations: 25.7 kB / 445.6 MB, free: 2.078 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.283e-05/0.00654, allocations: 64.27 kB / 445.7 MB, free: 2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006542, allocations: 3.938 kB / 445.7 MB, free: 1.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002181/0.006761, allocations: 93.08 kB / 445.8 MB, free: 1.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.006795, allocations: 29.7 kB / 445.8 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.006799, allocations: 96 / 445.8 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.006815, allocations: 4 kB / 445.8 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.985e-06/0.006818, allocations: 4 kB / 445.8 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.006823, allocations: 0 / 445.8 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.006839, allocations: 3.938 kB / 445.8 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.006846, allocations: 0 / 445.8 MB, free: 1.84 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.0001081/0.006954, allocations: 139.5 kB / 446 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-06/0.006962, allocations: 0 / 446 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.277e-05/0.006975, allocations: 6.984 kB / 446 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.006976, allocations: 0 / 446 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.00698, allocations: 0 / 446 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.006982, allocations: 4 kB / 446 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.007e-05/0.007072, allocations: 101.3 kB / 446.1 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.007073, allocations: 0 / 446.1 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.007074, allocations: 0 / 446.1 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.007075, allocations: 0 / 446.1 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.007082, allocations: 0 / 446.1 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.007091, allocations: 3.984 kB / 446.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.007094, allocations: 7.938 kB / 446.1 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.007313, allocations: 120.5 kB / 446.2 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-06/0.007316, allocations: 0 / 446.2 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.007331, allocations: 8.016 kB / 446.2 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-06/0.00734, allocations: 0 / 446.2 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.007356, allocations: 4 kB / 446.2 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.007359, allocations: 0 / 446.2 MB, free: 1.375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.9e-05/0.007398, allocations: 75.28 kB / 446.3 MB, free: 1.301 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.007398, allocations: 3.938 kB / 446.3 MB, free: 1.297 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.007697, allocations: 55.81 kB / 446.3 MB, free: 1.242 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.000502/0.008199, allocations: 200.4 kB / 446.5 MB, free: 1.039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.008351, allocations: 122.7 kB / 446.7 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008352, allocations: 0 / 446.7 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.719e-05/0.008409, allocations: 81.11 kB / 446.7 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.008538, allocations: 0 / 446.7 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.008773, allocations: 106.6 kB / 446.8 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.212e-05/0.008835, allocations: 59.34 kB / 446.9 MB, free: 0.582 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.03e-06/0.00884, allocations: 0 / 446.9 MB, free: 0.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.008858, allocations: 12.5 kB / 446.9 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.008858, allocations: 0 / 446.9 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of Templates: time 0.1799/0.1888, allocations: 1.54 MB / 448.5 MB, free: 19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.961153417825699]