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.001537/0.001537, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001613/0.001613, allocations: 211.8 kB / 22.99 MB, free: 4.605 MB / 14.72 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.576/1.576, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.2361/0.2361, allocations: 44.26 MB / 330.3 MB, free: 9.422 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002554/0.002554, allocations: 71.89 kB / 468 MB, free: 3.895 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1485, allocations: 61.05 MB / 0.5166 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.002496/0.151, allocations: 0.491 MB / 0.5171 GB, free: 6.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1524, allocations: 349.7 kB / 0.5174 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.1524, allocations: 4 kB / 0.5174 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.1524, allocations: 0 / 0.5174 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.646e-06/0.1524, allocations: 0 / 0.5174 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.1538, allocations: 203.5 kB / 0.5176 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.182e-05/0.1539, allocations: 4 kB / 0.5176 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.413e-05/0.154, allocations: 3.938 kB / 0.5176 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.915e-05/0.154, allocations: 4 kB / 0.5177 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.054e-05/0.154, allocations: 3.938 kB / 0.5177 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.945e-06/0.154, allocations: 0 / 0.5177 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005492/0.1546, allocations: 199.6 kB / 0.5178 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.1546, allocations: 4 kB / 0.5179 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.1546, allocations: 0 / 0.5179 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.155, allocations: 155.6 kB / 0.518 GB, free: 5.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.155, allocations: 0 / 0.518 GB, free: 5.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.155, allocations: 0 / 0.518 GB, free: 5.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.155, allocations: 0 / 0.518 GB, free: 5.305 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.0004856/0.1555, allocations: 291.9 kB / 0.5183 GB, free: 4.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.1555, allocations: 12.03 kB / 0.5183 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.1556, allocations: 0.9375 kB / 0.5183 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.817e-05/0.1557, allocations: 102.5 kB / 0.5184 GB, free: 4.844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1557, allocations: 384 / 0.5184 GB, free: 4.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.1557, allocations: 12.36 kB / 0.5184 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.1558, allocations: 55.91 kB / 0.5185 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1558, allocations: 192 / 0.5185 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1558, allocations: 7.938 kB / 0.5185 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.1559, allocations: 0 / 0.5185 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.103e-05/0.1559, allocations: 29.7 kB / 0.5185 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.1561, allocations: 97.33 kB / 0.5186 GB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.256e-05/0.1561, allocations: 44.27 kB / 0.5186 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.1562, allocations: 34.66 kB / 0.5187 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.1562, allocations: 3.984 kB / 0.5187 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.423e-05/0.1563, allocations: 68.2 kB / 0.5187 GB, free: 4.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.1563, allocations: 0 / 0.5187 GB, free: 4.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003165/0.1566, allocations: 118.7 kB / 0.5188 GB, free: 4.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.881e-05/0.1567, allocations: 81.11 kB / 0.5189 GB, free: 4.172 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.626e-05/0.1568, allocations: 89.86 kB / 0.519 GB, free: 4.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1568, allocations: 25.7 kB / 0.519 GB, free: 4.043 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.1569, allocations: 84.14 kB / 0.5191 GB, free: 3.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1569, allocations: 0 / 0.5191 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.1569, allocations: 13.72 kB / 0.5191 GB, free: 3.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.1571, allocations: 311 kB / 0.5194 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.719e-05/0.1571, allocations: 29.7 kB / 0.5194 GB, free: 3.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-05/0.1571, allocations: 33.69 kB / 0.5195 GB, free: 3.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.206e-05/0.1572, allocations: 68.2 kB / 0.5195 GB, free: 3.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1572, allocations: 0 / 0.5195 GB, free: 3.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001155/0.1574, allocations: 81.11 kB / 0.5196 GB, free: 3.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/0.1574, allocations: 39.56 kB / 0.5197 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1574, allocations: 3.938 kB / 0.5197 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.1574, allocations: 4 kB / 0.5197 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.396e-06/0.1574, allocations: 3.938 kB / 0.5197 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1574, allocations: 4.094 kB / 0.5197 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.1575, allocations: 3.938 kB / 0.5197 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1575, allocations: 4 kB / 0.5197 GB, free: 3.305 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 0.0001525/0.1576, allocations: 135.5 kB / 0.5198 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.1576, allocations: 4 kB / 0.5198 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.26e-05/0.1577, allocations: 3 kB / 0.5198 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1577, allocations: 3.938 kB / 0.5198 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.1577, allocations: 3.984 kB / 0.5198 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1577, allocations: 0 / 0.5198 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.1578, allocations: 93.33 kB / 0.5199 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.1578, allocations: 8 kB / 0.5199 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.1578, allocations: 3.938 kB / 0.5199 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1578, allocations: 0 / 0.5199 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1578, allocations: 0 / 0.5199 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1578, allocations: 0 / 0.5199 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.1578, allocations: 3.938 kB / 0.5199 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.158, allocations: 116.5 kB / 0.52 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-06/0.158, allocations: 0 / 0.52 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.158, allocations: 4 kB / 0.52 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.08e-05/0.158, allocations: 0 / 0.52 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.158, allocations: 7.969 kB / 0.52 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1581, allocations: 3.984 kB / 0.5201 GB, free: 2.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.034e-05/0.1581, allocations: 75.28 kB / 0.5201 GB, free: 2.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1581, allocations: 4 kB / 0.5201 GB, free: 2.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003461/0.1584, allocations: 47.88 kB / 0.5202 GB, free: 2.723 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.0005139/0.159, allocations: 186.8 kB / 0.5204 GB, free: 2.531 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.1591, allocations: 118.7 kB / 0.5205 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1591, allocations: 4.062 kB / 0.5205 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.015e-05/0.1592, allocations: 89.05 kB / 0.5206 GB, free: 2.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.1593, allocations: 4.875 kB / 0.5206 GB, free: 2.277 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.1596, allocations: 110.5 kB / 0.5207 GB, free: 2.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.119e-05/0.1596, allocations: 55.36 kB / 0.5207 GB, free: 2.062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.52e-06/0.1597, allocations: 0 / 0.5207 GB, free: 2.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.587e-05/0.1597, allocations: 7.438 kB / 0.5207 GB, free: 2.055 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1597, allocations: 4 kB / 0.5207 GB, free: 2.051 MB / 398.1 MB Notification: Performance of Templates: time 0.005407/0.1651, allocations: 1.429 MB / 0.5221 GB, free: 0.6211 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.130717830732465]