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.001666/0.001666, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.001985/0.001985, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.545/1.545, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2433/0.2433, allocations: 46.92 MB / 357.8 MB, free: 10.32 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+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 0.001959/0.001959, allocations: 59.91 kB / 0.492 GB, free: 7.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1791, allocations: 65.99 MB / 0.5565 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.002454/0.1816, allocations: 0.4987 MB / 0.557 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1831, allocations: 367.6 kB / 0.5573 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.1831, allocations: 0 / 0.5573 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.1831, allocations: 3.938 kB / 0.5573 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.506e-06/0.1831, allocations: 0 / 0.5573 GB, free: 4.508 MB / 414.1 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.001323/0.1845, allocations: 191.6 kB / 0.5575 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.616e-05/0.1845, allocations: 4 kB / 0.5575 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.1846, allocations: 0 / 0.5575 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.311e-05/0.1846, allocations: 8 kB / 0.5575 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.156e-05/0.1846, allocations: 0 / 0.5575 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.715e-06/0.1846, allocations: 0 / 0.5575 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006009/0.1852, allocations: 215.6 kB / 0.5577 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.1853, allocations: 0 / 0.5577 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.1853, allocations: 7.984 kB / 0.5577 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.1857, allocations: 151.6 kB / 0.5579 GB, free: 3.941 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1857, allocations: 0 / 0.5579 GB, free: 3.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1857, allocations: 0 / 0.5579 GB, free: 3.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1857, allocations: 0 / 0.5579 GB, free: 3.941 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.0006726/0.1864, allocations: 377 kB / 0.5582 GB, free: 3.516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.1864, allocations: 11.97 kB / 0.5583 GB, free: 3.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.1864, allocations: 0.9375 kB / 0.5583 GB, free: 3.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.1866, allocations: 164.4 kB / 0.5584 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.1866, allocations: 384 / 0.5584 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.1866, allocations: 384 / 0.5584 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.1868, allocations: 34.2 kB / 0.5585 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1868, allocations: 192 / 0.5585 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.1868, allocations: 7.922 kB / 0.5585 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.1868, allocations: 3.984 kB / 0.5585 GB, free: 3.254 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.477e-05/0.1868, allocations: 8 kB / 0.5585 GB, free: 3.246 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.1871, allocations: 141.7 kB / 0.5586 GB, free: 3.059 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.482e-05/0.1871, allocations: 24.27 kB / 0.5586 GB, free: 3.027 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.1872, allocations: 4.859 kB / 0.5586 GB, free: 3.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1872, allocations: 0 / 0.5586 GB, free: 3.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.418e-05/0.1873, allocations: 68.27 kB / 0.5587 GB, free: 2.938 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.773e-06/0.1873, allocations: 0 / 0.5587 GB, free: 2.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.00027/0.1875, allocations: 79.22 kB / 0.5588 GB, free: 2.848 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/0.1876, allocations: 77.11 kB / 0.5588 GB, free: 2.754 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.773e-05/0.1877, allocations: 89.86 kB / 0.5589 GB, free: 2.656 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.1877, allocations: 25.7 kB / 0.559 GB, free: 2.625 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.1878, allocations: 80.14 kB / 0.559 GB, free: 2.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.1878, allocations: 0 / 0.559 GB, free: 2.543 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.1879, allocations: 21.7 kB / 0.5591 GB, free: 2.516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.1881, allocations: 315 kB / 0.5594 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.1881, allocations: 0 / 0.5594 GB, free: 2.199 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.51e-05/0.1881, allocations: 3.938 kB / 0.5594 GB, free: 2.195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.33e-05/0.1882, allocations: 60.27 kB / 0.5594 GB, free: 2.121 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1882, allocations: 0 / 0.5594 GB, free: 2.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001503/0.1883, allocations: 67.39 kB / 0.5595 GB, free: 2.043 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.055e-05/0.1884, allocations: 33.7 kB / 0.5595 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1884, allocations: 0 / 0.5595 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.1884, allocations: 3.938 kB / 0.5595 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.404e-06/0.1884, allocations: 4.094 kB / 0.5595 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1884, allocations: 0 / 0.5595 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.1885, allocations: 0 / 0.5595 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1885, allocations: 0 / 0.5595 GB, free: 1.996 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.0001399/0.1886, allocations: 135.5 kB / 0.5596 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.1886, allocations: 0 / 0.5596 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.1886, allocations: 11.05 kB / 0.5597 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1886, allocations: 0 / 0.5597 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1886, allocations: 3.938 kB / 0.5597 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1887, allocations: 8 kB / 0.5597 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.1888, allocations: 145.6 kB / 0.5598 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1888, allocations: 4 kB / 0.5598 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-07/0.1888, allocations: 0 / 0.5598 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1888, allocations: 0 / 0.5598 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.1889, allocations: 3.938 kB / 0.5598 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.1889, allocations: 7.984 kB / 0.5598 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1889, allocations: 0 / 0.5598 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.189, allocations: 86.84 kB / 0.5599 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-05/0.1891, allocations: 85.11 kB / 0.56 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.1891, allocations: 7.922 kB / 0.56 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.667e-05/0.1892, allocations: 3.938 kB / 0.56 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.1892, allocations: 0 / 0.56 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1892, allocations: 0 / 0.56 GB, free: 1.398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.688e-05/0.1892, allocations: 75.28 kB / 0.5601 GB, free: 1.324 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1892, allocations: 4 kB / 0.5601 GB, free: 1.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005371/0.1898, allocations: 51.88 kB / 0.5601 GB, free: 1.27 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.0006735/0.1904, allocations: 188.2 kB / 0.5603 GB, free: 1.078 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.1906, allocations: 55.41 kB / 0.5604 GB, free: 1.012 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1906, allocations: 0 / 0.5604 GB, free: 1.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.1907, allocations: 59.39 kB / 0.5604 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.1909, allocations: 12.08 kB / 0.5604 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.1912, allocations: 114.9 kB / 0.5605 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.1916, allocations: 0.669 MB / 0.5612 GB, free: 96 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.1917, allocations: 7.438 kB / 0.5612 GB, free: 88 kB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1917, allocations: 0 / 0.5612 GB, free: 88 kB / 414.1 MB Notification: Performance of Templates: time 0.005812/0.1975, allocations: 1.506 MB / 0.5627 GB, free: 14.58 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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: 8.161044394015335]