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.001681/0.001681, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001476/0.001476, allocations: 165.5 kB / 24.82 MB, free: 9.27 MB / 18.57 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.084/1.084, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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.307/0.307, allocations: 34.25 MB / 296.1 MB, free: 0.7305 MB / 266.7 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 1.693e-06/1.693e-06, allocations: 0 / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.819e-05, allocations: 2.312 kB / 378.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001386/0.001414, allocations: 0.5035 MB / 379 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007401/0.002154, allocations: 378.9 kB / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.00218, allocations: 0 / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.0022, allocations: 7.938 kB / 379.4 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.384e-06/0.002208, allocations: 0 / 379.4 MB, free: 1.543 MB / 346.7 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.000838/0.003046, allocations: 215.2 kB / 379.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.355e-05/0.003099, allocations: 0 / 379.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.003139, allocations: 4 kB / 379.6 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.999e-05/0.003169, allocations: 4 kB / 379.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.379e-05/0.003192, allocations: 3.984 kB / 379.6 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.664e-06/0.0032, allocations: 0 / 379.6 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006808/0.003881, allocations: 231.5 kB / 379.8 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.003893, allocations: 0 / 379.8 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.003918, allocations: 0 / 379.8 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.004162, allocations: 175.6 kB / 380 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004165, allocations: 0 / 380 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004166, allocations: 0 / 380 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.004171, allocations: 0 / 380 MB, free: 0.9219 MB / 346.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.0002975/0.004469, allocations: 401.8 kB / 380.4 MB, free: 496 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.004508, allocations: 16.03 kB / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.004536, allocations: 4.922 kB / 380.4 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.05e-05/0.004597, allocations: 104.6 kB / 380.5 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.004607, allocations: 384 / 380.5 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.004614, allocations: 4.375 kB / 380.5 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.784e-05/0.004682, allocations: 55.91 kB / 380.5 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.004689, allocations: 192 / 380.5 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.004696, allocations: 384 / 380.5 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.004702, allocations: 4.375 kB / 380.5 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.004723, allocations: 29.64 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.395e-05/0.004806, allocations: 101.2 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.1e-05/0.004847, allocations: 52.8 kB / 380.7 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.004879, allocations: 33.39 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-06/0.004884, allocations: 4.062 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.004928, allocations: 63.03 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.004929, allocations: 0 / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001704/0.005099, allocations: 114.8 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.005138, allocations: 81.11 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.774e-05/0.005186, allocations: 146.2 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.005196, allocations: 29.83 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.005229, allocations: 126.9 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.005251, allocations: 4.297 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.005281, allocations: 19.38 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.005408, allocations: 0.4922 MB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.005428, allocations: 25.7 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.681e-05/0.005445, allocations: 33.64 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.005488, allocations: 63.09 kB / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.00549, allocations: 0 / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.52e-05/0.005565, allocations: 89.16 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.005595, allocations: 43.92 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.0056, allocations: 0 / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.098e-06/0.005609, allocations: 0 / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.00561, allocations: 3.938 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.005613, allocations: 0 / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.063e-05/0.005624, allocations: 0 / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.005629, allocations: 0 / 382.1 MB, free: 14.51 MB / 362.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.883e-05/0.005698, allocations: 186.2 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-06/0.005704, allocations: 7.938 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.389e-05/0.005718, allocations: 6.984 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.00572, allocations: 4 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.005722, allocations: 0 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.005725, allocations: 0 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.114e-05/0.005786, allocations: 93.2 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005787, allocations: 4 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.005788, allocations: 0 / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.41e-07/0.005789, allocations: 0 / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.005793, allocations: 0 / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.005795, allocations: 0 / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.005795, allocations: 0 / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.00591, allocations: 135.8 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-06/0.005918, allocations: 7.984 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.005929, allocations: 0 / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.222e-06/0.005935, allocations: 0 / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.005948, allocations: 3.984 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.005951, allocations: 4 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.471e-05/0.005986, allocations: 123.1 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005986, allocations: 0 / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002437/0.00623, allocations: 51.88 kB / 382.7 MB, free: 13.82 MB / 362.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.0003663/0.006596, allocations: 222.1 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.966e-05/0.006696, allocations: 114.5 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.006697, allocations: 0 / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.006729, allocations: 92.78 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.887e-05/0.006828, allocations: 3.938 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001698/0.006998, allocations: 113.7 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.042e-05/0.007028, allocations: 59.34 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.07e-06/0.007033, allocations: 128 / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.007075, allocations: 74.2 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.007076, allocations: 0 / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of Templates: time 0.003864/0.01094, allocations: 1.857 MB / 385.2 MB, free: 11.19 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 3.1792048211209476]