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.00169/0.00169, allocations: 118.3 kB / 19.18 MB, free: 3.852 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.001988/0.001988, allocations: 205 kB / 22.12 MB, free: 0.9062 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.484/1.484, allocations: 230.3 MB / 255.2 MB, free: 15.21 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.2317/0.2317, allocations: 46.92 MB / 358.2 MB, free: 10.41 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.002533/0.002533, allocations: 83.88 kB / 0.4925 GB, free: 7.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.134, allocations: 66.01 MB / 0.557 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001888/0.1359, allocations: 494.4 kB / 0.5574 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009838/0.1369, allocations: 375.5 kB / 0.5578 GB, free: 4.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.727e-05/0.1369, allocations: 0 / 0.5578 GB, free: 4.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.1369, allocations: 4 kB / 0.5578 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.1369, allocations: 0 / 0.5578 GB, free: 4.676 MB / 414.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.0009541/0.1379, allocations: 191.6 kB / 0.558 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.588e-05/0.138, allocations: 0 / 0.558 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.138, allocations: 4 kB / 0.558 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.663e-05/0.138, allocations: 7.969 kB / 0.558 GB, free: 4.477 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.018e-05/0.138, allocations: 0 / 0.558 GB, free: 4.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.074e-06/0.138, allocations: 0 / 0.558 GB, free: 4.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.1384, allocations: 203.6 kB / 0.5582 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.504e-06/0.1385, allocations: 3.938 kB / 0.5582 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.1385, allocations: 4 kB / 0.5582 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.1387, allocations: 155.6 kB / 0.5583 GB, free: 4.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1387, allocations: 0 / 0.5583 GB, free: 4.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1387, allocations: 0 / 0.5583 GB, free: 4.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1387, allocations: 0 / 0.5583 GB, free: 4.117 MB / 414.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.0004569/0.1392, allocations: 369 kB / 0.5587 GB, free: 3.699 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1392, allocations: 8.031 kB / 0.5587 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.1393, allocations: 0.9375 kB / 0.5587 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.1394, allocations: 168.4 kB / 0.5589 GB, free: 3.488 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1394, allocations: 384 / 0.5589 GB, free: 3.488 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.1394, allocations: 8.375 kB / 0.5589 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.856e-05/0.1395, allocations: 30.2 kB / 0.5589 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1395, allocations: 192 / 0.5589 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1395, allocations: 3.938 kB / 0.5589 GB, free: 3.441 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1395, allocations: 3.984 kB / 0.5589 GB, free: 3.438 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.974e-05/0.1395, allocations: 4 kB / 0.5589 GB, free: 3.434 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.1397, allocations: 145.7 kB / 0.559 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.621e-05/0.1398, allocations: 32.25 kB / 0.5591 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.1398, allocations: 4.859 kB / 0.5591 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-06/0.1398, allocations: 3.938 kB / 0.5591 GB, free: 3.191 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/0.1398, allocations: 56.27 kB / 0.5591 GB, free: 3.121 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1398, allocations: 0 / 0.5591 GB, free: 3.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002127/0.1401, allocations: 79.28 kB / 0.5592 GB, free: 3.031 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.1401, allocations: 77.11 kB / 0.5593 GB, free: 2.938 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.15e-05/0.1402, allocations: 89.98 kB / 0.5594 GB, free: 2.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1402, allocations: 33.7 kB / 0.5594 GB, free: 2.801 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.1402, allocations: 80.14 kB / 0.5595 GB, free: 2.719 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.1402, allocations: 0 / 0.5595 GB, free: 2.719 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.1403, allocations: 9.719 kB / 0.5595 GB, free: 2.703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1404, allocations: 318.8 kB / 0.5598 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.1404, allocations: 0 / 0.5598 GB, free: 2.383 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-06/0.1404, allocations: 3.938 kB / 0.5598 GB, free: 2.379 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.983e-05/0.1405, allocations: 68.31 kB / 0.5599 GB, free: 2.297 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1405, allocations: 0 / 0.5599 GB, free: 2.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.1e-05/0.1406, allocations: 59.41 kB / 0.5599 GB, free: 2.227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.1406, allocations: 29.7 kB / 0.5599 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1406, allocations: 0 / 0.5599 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1406, allocations: 3.938 kB / 0.5599 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.1406, allocations: 0 / 0.5599 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1407, allocations: 4 kB / 0.5599 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.63e-05/0.1407, allocations: 0 / 0.5599 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1407, allocations: 7.922 kB / 0.56 GB, free: 2.176 MB / 414.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 0.0001087/0.1408, allocations: 143.6 kB / 0.5601 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-06/0.1408, allocations: 0 / 0.5601 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.493e-05/0.1408, allocations: 11 kB / 0.5601 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.1408, allocations: 0 / 0.5601 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1408, allocations: 0 / 0.5601 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1408, allocations: 0 / 0.5601 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.1409, allocations: 149.7 kB / 0.5602 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.141, allocations: 0 / 0.5602 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.141, allocations: 0 / 0.5602 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.141, allocations: 4 kB / 0.5603 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.141, allocations: 3.938 kB / 0.5603 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.141, allocations: 0 / 0.5603 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.141, allocations: 0 / 0.5603 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.1411, allocations: 90.83 kB / 0.5603 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.1411, allocations: 81.11 kB / 0.5604 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.1411, allocations: 3.938 kB / 0.5604 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.249e-05/0.1411, allocations: 7.938 kB / 0.5604 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.103e-05/0.1412, allocations: 4.031 kB / 0.5604 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.1412, allocations: 0 / 0.5604 GB, free: 1.582 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.993e-05/0.1412, allocations: 79.28 kB / 0.5605 GB, free: 1.504 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1412, allocations: 0 / 0.5605 GB, free: 1.504 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000305/0.1415, allocations: 55.8 kB / 0.5606 GB, free: 1.449 MB / 414.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.0004625/0.142, allocations: 191.2 kB / 0.5607 GB, free: 1.258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.1421, allocations: 67.39 kB / 0.5608 GB, free: 1.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1421, allocations: 0 / 0.5608 GB, free: 1.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.335e-05/0.1421, allocations: 55.41 kB / 0.5609 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.1423, allocations: 3.938 kB / 0.5609 GB, free: 1.109 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/0.1425, allocations: 114.8 kB / 0.561 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.1428, allocations: 0.669 MB / 0.5616 GB, free: 276 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.34e-05/0.1428, allocations: 11.44 kB / 0.5616 GB, free: 264 kB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1428, allocations: 0 / 0.5616 GB, free: 264 kB / 414.1 MB Notification: Performance of Templates: time 0.00364/0.1465, allocations: 1.494 MB / 0.5631 GB, free: 14.76 MB / 430.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 7.692197579002823]