Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001311/0.001311, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001418/0.001418, allocations: 212.3 kB / 23.73 MB, free: 4.16 MB / 14.72 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2329/0.2329, allocations: 44.94 MB / 358.8 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 75.83 kB / 0.4935 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4088, allocations: 65.47 MB / 0.5574 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001847/0.4106, allocations: 493 kB / 0.5579 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.4117, allocations: 377.3 kB / 0.5583 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.89e-05/0.4117, allocations: 0 / 0.5583 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.4117, allocations: 4 kB / 0.5583 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.203e-06/0.4117, allocations: 0 / 0.5583 GB, free: 6.66 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0009357/0.4127, allocations: 207.4 kB / 0.5585 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.639e-05/0.4127, allocations: 8 kB / 0.5585 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.4128, allocations: 0 / 0.5585 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.543e-05/0.4128, allocations: 0 / 0.5585 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.351e-05/0.4128, allocations: 3.938 kB / 0.5585 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-06/0.4128, allocations: 0 / 0.5585 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/0.4133, allocations: 227.5 kB / 0.5587 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.225e-06/0.4133, allocations: 0 / 0.5587 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.4133, allocations: 7.938 kB / 0.5587 GB, free: 6.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.4136, allocations: 154 kB / 0.5589 GB, free: 6.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4136, allocations: 0 / 0.5589 GB, free: 6.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4136, allocations: 0 / 0.5589 GB, free: 6.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.4136, allocations: 0 / 0.5589 GB, free: 6.074 MB / 398.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.0004614/0.414, allocations: 299.9 kB / 0.5591 GB, free: 5.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4141, allocations: 8.031 kB / 0.5591 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.4141, allocations: 4.938 kB / 0.5592 GB, free: 5.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.793e-05/0.4142, allocations: 102.5 kB / 0.5592 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.4142, allocations: 384 / 0.5592 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.4142, allocations: 384 / 0.5593 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.4144, allocations: 67.95 kB / 0.5593 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.4144, allocations: 192 / 0.5593 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4144, allocations: 3.938 kB / 0.5593 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4144, allocations: 0 / 0.5593 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.672e-05/0.4144, allocations: 33.64 kB / 0.5594 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.4145, allocations: 93.33 kB / 0.5594 GB, free: 5.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.628e-05/0.4146, allocations: 44.31 kB / 0.5595 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.4147, allocations: 34.55 kB / 0.5595 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.4147, allocations: 4 kB / 0.5595 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.571e-05/0.4147, allocations: 60.33 kB / 0.5596 GB, free: 5.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.4147, allocations: 4 kB / 0.5596 GB, free: 5.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002266/0.415, allocations: 126.6 kB / 0.5597 GB, free: 5.031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.415, allocations: 77.11 kB / 0.5598 GB, free: 4.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.237e-05/0.4151, allocations: 93.86 kB / 0.5599 GB, free: 4.836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.4151, allocations: 25.7 kB / 0.5599 GB, free: 4.805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.4151, allocations: 80.14 kB / 0.56 GB, free: 4.723 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.4152, allocations: 4 kB / 0.56 GB, free: 4.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.4152, allocations: 9.719 kB / 0.56 GB, free: 4.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4153, allocations: 314.8 kB / 0.5603 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.562e-05/0.4154, allocations: 25.7 kB / 0.5603 GB, free: 4.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/0.4154, allocations: 29.83 kB / 0.5603 GB, free: 4.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.967e-05/0.4154, allocations: 68.25 kB / 0.5604 GB, free: 4.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4154, allocations: 0 / 0.5604 GB, free: 4.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.248e-05/0.4155, allocations: 89.05 kB / 0.5605 GB, free: 4.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/0.4156, allocations: 29.7 kB / 0.5605 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4156, allocations: 3.984 kB / 0.5605 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4156, allocations: 4 kB / 0.5605 GB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-06/0.4156, allocations: 3.938 kB / 0.5605 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.4156, allocations: 3.938 kB / 0.5605 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.477e-05/0.4156, allocations: 4.094 kB / 0.5605 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.4156, allocations: 0 / 0.5605 GB, free: 4.078 MB / 398.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 9.592e-05/0.4157, allocations: 143.5 kB / 0.5607 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-06/0.4157, allocations: 0 / 0.5607 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.516e-05/0.4157, allocations: 6.984 kB / 0.5607 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4157, allocations: 3.938 kB / 0.5607 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.4157, allocations: 0 / 0.5607 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.4158, allocations: 4 kB / 0.5607 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.043e-05/0.4158, allocations: 101.3 kB / 0.5608 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4158, allocations: 4 kB / 0.5608 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.4158, allocations: 0 / 0.5608 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.4158, allocations: 4 kB / 0.5608 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.4159, allocations: 4 kB / 0.5608 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.4159, allocations: 0 / 0.5608 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4159, allocations: 3.938 kB / 0.5608 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.416, allocations: 120.5 kB / 0.5609 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-06/0.416, allocations: 0 / 0.5609 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.416, allocations: 0 / 0.5609 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.085e-05/0.416, allocations: 4 kB / 0.5609 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.416, allocations: 3.938 kB / 0.5609 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.416, allocations: 0 / 0.5609 GB, free: 3.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.532e-05/0.4161, allocations: 79.31 kB / 0.561 GB, free: 3.527 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4161, allocations: 0 / 0.561 GB, free: 3.527 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.4163, allocations: 55.86 kB / 0.561 GB, free: 3.473 MB / 398.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.000418/0.4168, allocations: 186.7 kB / 0.5612 GB, free: 3.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.4169, allocations: 122.7 kB / 0.5613 GB, free: 3.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4169, allocations: 0 / 0.5613 GB, free: 3.145 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.787e-05/0.417, allocations: 89.16 kB / 0.5614 GB, free: 3.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.4171, allocations: 0 / 0.5614 GB, free: 3.039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.4173, allocations: 110.7 kB / 0.5615 GB, free: 2.898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.484e-05/0.4174, allocations: 55.36 kB / 0.5616 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.193e-06/0.4174, allocations: 3.938 kB / 0.5616 GB, free: 2.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.4174, allocations: 11.44 kB / 0.5616 GB, free: 2.809 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4174, allocations: 0 / 0.5616 GB, free: 2.809 MB / 398.1 MB Notification: Performance of Templates: time 0.004753/0.4222, allocations: 1.533 MB / 0.5631 GB, free: 1.277 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 5.249766368418932]