Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001078/0.001078, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001196/0.002275, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.000747/0.000747, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009619/0.001709, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.008/1.008, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1888/1.197, allocations: 49.5 MB / 220.5 MB, free: 5.266 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1366/0.1366, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02027/0.1569, allocations: 12.3 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.813e-05, allocations: 6.25 kB / 267.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001381/0.001399, allocations: 0.5477 MB / 267.8 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006357/0.002035, allocations: 355.6 kB / 268.1 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.455e-05/0.002049, allocations: 0 / 268.1 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.689e-06/0.002054, allocations: 0 / 268.1 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.082e-06/0.002055, allocations: 0 / 268.1 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006349/0.00269, allocations: 195.4 kB / 268.3 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.564e-05/0.002746, allocations: 3.938 kB / 268.3 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.002783, allocations: 8 kB / 268.3 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.757e-05/0.00282, allocations: 4 kB / 268.3 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.294e-05/0.002843, allocations: 0 / 268.3 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.002857, allocations: 0 / 268.3 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.003217, allocations: 211.5 kB / 268.5 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.003227, allocations: 3.938 kB / 268.5 MB, free: 5.215 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.363e-05/0.003241, allocations: 0 / 268.5 MB, free: 5.215 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.003462, allocations: 143.7 kB / 268.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.432e-05/0.003477, allocations: 4 kB / 268.7 MB, free: 5.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003478, allocations: 0 / 268.7 MB, free: 5.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.003497, allocations: 0 / 268.7 MB, free: 5.07 MB / 266.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.0003603/0.003857, allocations: 294.1 kB / 268.9 MB, free: 4.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.00389, allocations: 8.031 kB / 269 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.003927, allocations: 0.9375 kB / 269 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.838e-05/0.003996, allocations: 105.8 kB / 269.1 MB, free: 4.613 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.004006, allocations: 4.312 kB / 269.1 MB, free: 4.609 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-06/0.004012, allocations: 384 / 269.1 MB, free: 4.609 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.551e-05/0.004088, allocations: 55.97 kB / 269.1 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.004097, allocations: 4.172 kB / 269.1 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-06/0.004102, allocations: 4.375 kB / 269.1 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.004107, allocations: 384 / 269.1 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.444e-05/0.004132, allocations: 37.62 kB / 269.2 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.944e-05/0.004201, allocations: 53.05 kB / 269.2 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.747e-05/0.004249, allocations: 48.25 kB / 269.3 MB, free: 4.363 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.004268, allocations: 30.56 kB / 269.3 MB, free: 4.324 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-06/0.004271, allocations: 0 / 269.3 MB, free: 4.324 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.004311, allocations: 64.33 kB / 269.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.004312, allocations: 0 / 269.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001349/0.004447, allocations: 122.7 kB / 269.5 MB, free: 4.102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.004489, allocations: 77.11 kB / 269.6 MB, free: 4.008 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.758e-05/0.004527, allocations: 93.84 kB / 269.6 MB, free: 3.906 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.00454, allocations: 25.7 kB / 269.7 MB, free: 3.875 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.554e-05/0.004566, allocations: 80.14 kB / 269.7 MB, free: 3.793 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.004585, allocations: 4 kB / 269.8 MB, free: 3.789 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.004616, allocations: 13.7 kB / 269.8 MB, free: 3.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.539e-05/0.004711, allocations: 314.8 kB / 270.1 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.375e-05/0.004735, allocations: 29.7 kB / 270.1 MB, free: 3.418 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.52e-05/0.00475, allocations: 25.7 kB / 270.1 MB, free: 3.387 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.244e-05/0.004803, allocations: 64.45 kB / 270.2 MB, free: 3.309 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.004805, allocations: 0 / 270.2 MB, free: 3.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.213e-05/0.004877, allocations: 97.03 kB / 270.3 MB, free: 3.195 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.004918, allocations: 29.7 kB / 270.3 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.004927, allocations: 4 kB / 270.3 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.004937, allocations: 0 / 270.3 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-06/0.004944, allocations: 4 kB / 270.3 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.004946, allocations: 0 / 270.3 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.004966, allocations: 0 / 270.3 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.004973, allocations: 0 / 270.3 MB, free: 3.152 MB / 266.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.604e-05/0.005049, allocations: 147.5 kB / 270.5 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.005055, allocations: 0 / 270.5 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.686e-06/0.005063, allocations: 3 kB / 270.5 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.005066, allocations: 3.938 kB / 270.5 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.005067, allocations: 0 / 270.5 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.00507, allocations: 4 kB / 270.5 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.951e-05/0.005129, allocations: 65.8 kB / 270.5 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.00513, allocations: 0 / 270.5 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.005131, allocations: 0 / 270.5 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.005141, allocations: 11.97 kB / 270.6 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.005143, allocations: 4 kB / 270.6 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.005148, allocations: 0 / 270.6 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.005149, allocations: 0 / 270.6 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.00515, allocations: 0 / 270.6 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.685e-05/0.005236, allocations: 120.4 kB / 270.7 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.005249, allocations: 0 / 270.7 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-06/0.005258, allocations: 0 / 270.7 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.00527, allocations: 4 kB / 270.7 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.005273, allocations: 0 / 270.7 MB, free: 2.734 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.187e-06/0.005282, allocations: 8.859 kB / 270.7 MB, free: 2.723 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005282, allocations: 0 / 270.7 MB, free: 2.723 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002349/0.005517, allocations: 51.89 kB / 270.7 MB, free: 2.672 MB / 266.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.0004119/0.005929, allocations: 178 kB / 270.9 MB, free: 2.492 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.006045, allocations: 115.7 kB / 271 MB, free: 2.352 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.00605, allocations: 4 kB / 271 MB, free: 2.348 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.334e-05/0.006094, allocations: 93.89 kB / 271.1 MB, free: 2.234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.922e-05/0.006153, allocations: 3.938 kB / 271.1 MB, free: 2.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001642/0.006317, allocations: 112.2 kB / 271.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.728e-05/0.006354, allocations: 59.33 kB / 271.3 MB, free: 2.012 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.462e-06/0.006361, allocations: 0 / 271.3 MB, free: 2.012 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.006406, allocations: 55.31 kB / 271.3 MB, free: 1.957 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.006407, allocations: 0 / 271.3 MB, free: 1.957 MB / 266.7 MB Notification: Performance of Templates: time 0.004333/0.01074, allocations: 1.725 MB / 273.1 MB, free: 236 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.859080676920712]