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.001152/0.001152, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001288/0.001288, allocations: 170.1 kB / 24.91 MB, free: 8.758 MB / 18.57 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.065/1.065, allocations: 177 MB / 205.2 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] 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.2546/0.2546, allocations: 34.86 MB / 296.6 MB, free: 0.5234 MB / 266.7 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.623e-06/1.623e-06, allocations: 0 / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.517e-05, allocations: 2.312 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001854/0.001879, allocations: 0.546 MB / 326.5 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008222/0.002701, allocations: 383.7 kB / 326.9 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.002718, allocations: 4 kB / 326.9 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.324e-05/0.002731, allocations: 0 / 326.9 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.502e-06/0.002737, allocations: 0 / 326.9 MB, free: 6.238 MB / 298.7 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.0007482/0.003486, allocations: 195.9 kB / 327.1 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.648e-05/0.003532, allocations: 4 kB / 327.1 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.003568, allocations: 4.734 kB / 327.1 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.719e-05/0.003596, allocations: 0 / 327.1 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.732e-05/0.003613, allocations: 0 / 327.1 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.963e-06/0.00362, allocations: 0 / 327.1 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.004033, allocations: 231.5 kB / 327.3 MB, free: 5.812 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.624e-06/0.00404, allocations: 8 kB / 327.3 MB, free: 5.805 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.421e-05/0.004055, allocations: 0 / 327.3 MB, free: 5.805 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.004295, allocations: 187.5 kB / 327.5 MB, free: 5.621 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004298, allocations: 0 / 327.5 MB, free: 5.621 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004299, allocations: 0 / 327.5 MB, free: 5.621 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.004302, allocations: 0 / 327.5 MB, free: 5.621 MB / 298.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.0002616/0.004564, allocations: 262.2 kB / 327.7 MB, free: 5.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.004598, allocations: 8.031 kB / 327.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.004624, allocations: 0.9375 kB / 327.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.931e-05/0.004693, allocations: 109.8 kB / 327.8 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.004703, allocations: 384 / 327.8 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-06/0.004709, allocations: 4.375 kB / 327.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.562e-05/0.004795, allocations: 63.95 kB / 327.9 MB, free: 5.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.004803, allocations: 192 / 327.9 MB, free: 5.113 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.004809, allocations: 4.312 kB / 327.9 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.004818, allocations: 4.312 kB / 327.9 MB, free: 5.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/0.00484, allocations: 33.64 kB / 328 MB, free: 5.066 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.386e-05/0.004914, allocations: 57.03 kB / 328 MB, free: 4.996 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.825e-05/0.004963, allocations: 44.31 kB / 328.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.00498, allocations: 30.56 kB / 328.1 MB, free: 4.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-06/0.004983, allocations: 0 / 328.1 MB, free: 4.898 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.005029, allocations: 68.31 kB / 328.2 MB, free: 4.816 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.00503, allocations: 0 / 328.2 MB, free: 4.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001184/0.005149, allocations: 110.8 kB / 328.3 MB, free: 4.684 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.005203, allocations: 85.11 kB / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.59e-05/0.005239, allocations: 90.55 kB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.005249, allocations: 25.7 kB / 328.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.992e-05/0.005269, allocations: 80.14 kB / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.005285, allocations: 4.672 kB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.005312, allocations: 13.72 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.005443, allocations: 314.8 kB / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.005465, allocations: 29.83 kB / 328.9 MB, free: 3.996 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.585e-05/0.005481, allocations: 29.7 kB / 328.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.717e-05/0.005528, allocations: 64.2 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.00553, allocations: 0 / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.526e-05/0.005595, allocations: 85.09 kB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.005625, allocations: 29.7 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.005631, allocations: 4 kB / 329.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.005644, allocations: 3.984 kB / 329.1 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.005646, allocations: 0 / 329.1 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.005649, allocations: 4.094 kB / 329.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.483e-05/0.005664, allocations: 0 / 329.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.00567, allocations: 0 / 329.1 MB, free: 3.734 MB / 298.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 7.381e-05/0.005743, allocations: 147.5 kB / 329.2 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.005751, allocations: 4 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.556e-06/0.00576, allocations: 3 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005761, allocations: 4 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.005763, allocations: 0 / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.005765, allocations: 0 / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.428e-05/0.00582, allocations: 66.17 kB / 329.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.005821, allocations: 3.938 kB / 329.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-07/0.005822, allocations: 4 kB / 329.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.005825, allocations: 11.92 kB / 329.3 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-06/0.00583, allocations: 0 / 329.3 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005831, allocations: 0 / 329.3 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.005832, allocations: 0 / 329.3 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.525e-05/0.005917, allocations: 112.5 kB / 329.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-06/0.005923, allocations: 8 kB / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.005935, allocations: 0 / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.005944, allocations: 0 / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.816e-06/0.005953, allocations: 0 / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.005956, allocations: 8.031 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.023e-06/0.005963, allocations: 4.859 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005964, allocations: 0 / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002707/0.006234, allocations: 55.86 kB / 329.5 MB, free: 3.246 MB / 298.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.0004979/0.006732, allocations: 176.9 kB / 329.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.006832, allocations: 127.6 kB / 329.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.006835, allocations: 64 / 329.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.368e-05/0.006869, allocations: 89.97 kB / 329.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.694e-05/0.006926, allocations: 10.11 kB / 329.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00017/0.007096, allocations: 112.9 kB / 330 MB, free: 2.664 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.152e-05/0.007127, allocations: 55.36 kB / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.741e-06/0.007133, allocations: 0 / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.007175, allocations: 51.38 kB / 330.1 MB, free: 2.539 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.007176, allocations: 0 / 330.1 MB, free: 2.539 MB / 298.7 MB Notification: Performance of Templates: time 0.004494/0.01167, allocations: 1.835 MB / 332 MB, free: 0.7109 MB / 298.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9481181954033673]