Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.0013/0.0013, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001383/0.001383, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 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.419/1.419, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2464/0.2464, allocations: 46.88 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 79.88 kB / 0.4967 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3311, allocations: 65.98 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001587/0.3327, allocations: 0.4917 MB / 0.5617 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008914/0.3336, allocations: 381.2 kB / 0.562 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.36e-05/0.3336, allocations: 7.938 kB / 0.562 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.3336, allocations: 0 / 0.562 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.999e-06/0.3337, allocations: 0 / 0.562 GB, free: 4.164 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.0008318/0.3345, allocations: 195.5 kB / 0.5622 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.776e-05/0.3345, allocations: 4 kB / 0.5622 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.3346, allocations: 3.984 kB / 0.5622 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.507e-05/0.3346, allocations: 8 kB / 0.5622 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.635e-05/0.3346, allocations: 0 / 0.5622 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.14e-06/0.3346, allocations: 0 / 0.5622 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.335, allocations: 203.6 kB / 0.5624 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.602e-06/0.335, allocations: 0 / 0.5624 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.335, allocations: 0 / 0.5624 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.3352, allocations: 158.4 kB / 0.5626 GB, free: 3.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3352, allocations: 0 / 0.5626 GB, free: 3.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3352, allocations: 0 / 0.5626 GB, free: 3.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.3352, allocations: 0 / 0.5626 GB, free: 3.605 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.0004165/0.3356, allocations: 369 kB / 0.5629 GB, free: 3.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3357, allocations: 12.03 kB / 0.5629 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.3357, allocations: 0.9375 kB / 0.5629 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3358, allocations: 164.4 kB / 0.5631 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3358, allocations: 384 / 0.5631 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.3358, allocations: 384 / 0.5631 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.324e-05/0.3359, allocations: 34.27 kB / 0.5631 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3359, allocations: 4.125 kB / 0.5631 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.3359, allocations: 3.938 kB / 0.5631 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.336, allocations: 0 / 0.5631 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.606e-05/0.336, allocations: 7.938 kB / 0.5632 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.3361, allocations: 153.7 kB / 0.5633 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.501e-05/0.3362, allocations: 14.58 kB / 0.5633 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.3362, allocations: 8.953 kB / 0.5633 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.3362, allocations: 0 / 0.5633 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/0.3362, allocations: 56.27 kB / 0.5634 GB, free: 2.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 2.635e-06/0.3362, allocations: 4 kB / 0.5634 GB, free: 2.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001788/0.3364, allocations: 79.22 kB / 0.5635 GB, free: 2.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.3365, allocations: 77.11 kB / 0.5635 GB, free: 2.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.726e-05/0.3365, allocations: 89.86 kB / 0.5636 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.3365, allocations: 25.7 kB / 0.5636 GB, free: 2.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.3366, allocations: 80.14 kB / 0.5637 GB, free: 2.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.3366, allocations: 7.938 kB / 0.5637 GB, free: 2.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.3366, allocations: 9.719 kB / 0.5637 GB, free: 2.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3368, allocations: 319 kB / 0.564 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/0.3368, allocations: 0 / 0.564 GB, free: 1.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-06/0.3368, allocations: 4 kB / 0.564 GB, free: 1.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.363e-05/0.3368, allocations: 64.25 kB / 0.5641 GB, free: 1.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3368, allocations: 0 / 0.5641 GB, free: 1.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.908e-05/0.3369, allocations: 59.34 kB / 0.5642 GB, free: 1.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.3369, allocations: 33.7 kB / 0.5642 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3369, allocations: 4 kB / 0.5642 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.337, allocations: 4.031 kB / 0.5642 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.337, allocations: 4 kB / 0.5642 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.337, allocations: 3.984 kB / 0.5642 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.6e-05/0.337, allocations: 4 kB / 0.5642 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.337, allocations: 4 kB / 0.5642 GB, free: 1.66 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.653e-05/0.3371, allocations: 135.5 kB / 0.5643 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-06/0.3371, allocations: 0 / 0.5643 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.189e-05/0.3371, allocations: 7.125 kB / 0.5643 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3371, allocations: 3.938 kB / 0.5644 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3371, allocations: 4 kB / 0.5644 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.3372, allocations: 77.11 kB / 0.5644 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.3372, allocations: 3.984 kB / 0.5644 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-06/0.3372, allocations: 0 / 0.5644 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.3372, allocations: 7.984 kB / 0.5644 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001311/0.3373, allocations: 194 kB / 0.5646 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001643/0.3375, allocations: 244.5 kB / 0.5649 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.39e-05/0.3375, allocations: 0 / 0.5649 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.512e-05/0.3375, allocations: 79.22 kB / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of Backend: time 2.41e-07/0.3375, allocations: 0 / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00063/0.3382, allocations: 223.4 kB / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of SimCode: time 0.0004804/0.3387, allocations: 0.5872 MB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Templates: time 0.004519/0.3432, allocations: 1.539 MB / 0.5672 GB, free: 14.42 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 4.754801971837878]