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.001134/0.001134, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001599/0.002733, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001046/0.001046, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.002401, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9628/0.9628, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09142/1.054, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.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.2767/0.2767, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02832/0.305, allocations: 13.23 MB / 292.6 MB, free: 6.469 MB / 282.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 / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.155e-05, allocations: 5.625 kB / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.00106/0.001081, allocations: 0.5457 MB / 294.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004834/0.001565, allocations: 384 kB / 294.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.318e-05/0.001578, allocations: 0 / 294.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.567e-06/0.001581, allocations: 0 / 294.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.12e-07/0.001582, allocations: 4 kB / 294.8 MB, free: 4.289 MB / 282.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.0005185/0.002101, allocations: 192.5 kB / 295 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.975e-05/0.002151, allocations: 7.922 kB / 295 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.085e-05/0.002181, allocations: 7.984 kB / 295 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.741e-05/0.002209, allocations: 4 kB / 295 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.896e-05/0.002228, allocations: 0 / 295 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.703e-06/0.002234, allocations: 0 / 295 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.002564, allocations: 227.5 kB / 295.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-06/0.002571, allocations: 0 / 295.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.286e-05/0.002584, allocations: 4 kB / 295.2 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.00276, allocations: 143.6 kB / 295.3 MB, free: 3.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.002771, allocations: 4 kB / 295.3 MB, free: 3.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.002772, allocations: 0 / 295.3 MB, free: 3.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.002784, allocations: 0 / 295.3 MB, free: 3.711 MB / 282.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.0002713/0.003055, allocations: 290.1 kB / 295.6 MB, free: 3.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.003084, allocations: 8.922 kB / 295.6 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.00311, allocations: 0.9375 kB / 295.6 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.98e-05/0.00316, allocations: 105.8 kB / 295.7 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.003168, allocations: 384 / 295.7 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.003175, allocations: 4.312 kB / 295.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.367e-05/0.003239, allocations: 59.97 kB / 295.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-06/0.003244, allocations: 4.188 kB / 295.8 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-06/0.003249, allocations: 384 / 295.8 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.003254, allocations: 4.375 kB / 295.8 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.944e-05/0.003273, allocations: 37.62 kB / 295.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.367e-05/0.003327, allocations: 57.03 kB / 295.9 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.87e-05/0.003365, allocations: 44.31 kB / 296 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.003381, allocations: 34.5 kB / 296 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-06/0.003385, allocations: 0 / 296 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.003415, allocations: 60.33 kB / 296 MB, free: 2.887 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.003415, allocations: 0 / 296 MB, free: 2.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001039/0.003519, allocations: 122.8 kB / 296.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.003553, allocations: 77.11 kB / 296.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.105e-05/0.003584, allocations: 89.86 kB / 296.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.003594, allocations: 25.7 kB / 296.4 MB, free: 2.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.761e-05/0.003611, allocations: 80.14 kB / 296.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.003627, allocations: 4.688 kB / 296.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.003649, allocations: 13.7 kB / 296.4 MB, free: 2.414 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.607e-05/0.003715, allocations: 314.8 kB / 296.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.003729, allocations: 33.64 kB / 296.8 MB, free: 2.059 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.147e-05/0.003741, allocations: 25.83 kB / 296.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/0.003779, allocations: 64.33 kB / 296.9 MB, free: 1.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.003781, allocations: 0 / 296.9 MB, free: 1.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.533e-05/0.003827, allocations: 89.09 kB / 297 MB, free: 1.844 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.003859, allocations: 33.64 kB / 297 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.003864, allocations: 0 / 297 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.003871, allocations: 0 / 297 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.198e-06/0.003875, allocations: 4 kB / 297 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.003877, allocations: 0 / 297 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.003892, allocations: 0 / 297 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.003899, allocations: 0 / 297 MB, free: 1.801 MB / 282.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 6.217e-05/0.003961, allocations: 155.4 kB / 297.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-06/0.003966, allocations: 0 / 297.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.695e-06/0.003974, allocations: 3 kB / 297.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.003975, allocations: 0 / 297.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.003976, allocations: 0 / 297.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.00398, allocations: 4 kB / 297.2 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.884e-05/0.004029, allocations: 65.83 kB / 297.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.00403, allocations: 0 / 297.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.004031, allocations: 0 / 297.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.004039, allocations: 8.5 kB / 297.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.00404, allocations: 4 kB / 297.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.004045, allocations: 0 / 297.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.004047, allocations: 3.984 kB / 297.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.004048, allocations: 0 / 297.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.826e-05/0.004117, allocations: 112.5 kB / 297.3 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.004127, allocations: 4 kB / 297.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.46e-06/0.004132, allocations: 0 / 297.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-06/0.004142, allocations: 7.938 kB / 297.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.004143, allocations: 0 / 297.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.114e-06/0.004151, allocations: 8.859 kB / 297.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004151, allocations: 4.031 kB / 297.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001842/0.004335, allocations: 55.86 kB / 297.4 MB, free: 1.309 MB / 282.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.0003234/0.004658, allocations: 196.9 kB / 297.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.576e-05/0.004744, allocations: 119.7 kB / 297.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.004748, allocations: 4 kB / 297.7 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.594e-05/0.004774, allocations: 85.97 kB / 297.8 MB, free: 0.875 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.938e-05/0.004823, allocations: 13.47 kB / 297.8 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001437/0.004967, allocations: 112.9 kB / 297.9 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.557e-05/0.004993, allocations: 51.36 kB / 298 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.561e-06/0.004998, allocations: 0 / 298 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.483e-05/0.005033, allocations: 59.3 kB / 298.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.005034, allocations: 0 / 298.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of Templates: time 0.003198/0.008232, allocations: 1.828 MB / 299.9 MB, free: 14.77 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 -emit_protected -ignoreHideResult -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.751847092062235]