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.001005/0.001005, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.0009736/0.0009736, allocations: 161.9 kB / 24.99 MB, free: 8.336 MB / 18.57 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.047/1.047, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2666/0.2666, allocations: 32.8 MB / 294.6 MB, free: 1.234 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 376 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.21e-05, allocations: 4.141 kB / 376 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001725/0.001757, allocations: 0.5047 MB / 376.5 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009885/0.002746, allocations: 378.9 kB / 376.9 MB, free: 4.141 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.002775, allocations: 0 / 376.9 MB, free: 4.141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.002793, allocations: 0 / 376.9 MB, free: 4.141 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.104e-06/0.0028, allocations: 0 / 376.9 MB, free: 4.141 MB / 346.7 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.0009526/0.003752, allocations: 211.3 kB / 377.1 MB, free: 3.934 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.988e-05/0.003812, allocations: 3.938 kB / 377.1 MB, free: 3.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.003851, allocations: 8 kB / 377.1 MB, free: 3.922 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.82e-05/0.003879, allocations: 0 / 377.1 MB, free: 3.922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.161e-05/0.003901, allocations: 0 / 377.1 MB, free: 3.922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.003909, allocations: 0 / 377.1 MB, free: 3.922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004165/0.004325, allocations: 231.5 kB / 377.3 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.004334, allocations: 0 / 377.3 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.004357, allocations: 0 / 377.3 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.004635, allocations: 179.5 kB / 377.5 MB, free: 3.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.00464, allocations: 3.984 kB / 377.5 MB, free: 3.516 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.004641, allocations: 0 / 377.5 MB, free: 3.516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.004646, allocations: 0 / 377.5 MB, free: 3.516 MB / 346.7 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.0003965/0.005042, allocations: 397.9 kB / 377.9 MB, free: 3.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.00509, allocations: 8.031 kB / 377.9 MB, free: 3.074 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.005138, allocations: 4.938 kB / 377.9 MB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.884e-05/0.005227, allocations: 108.6 kB / 378 MB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.00524, allocations: 384 / 378 MB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.00525, allocations: 384 / 378 MB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.005351, allocations: 55.97 kB / 378 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.005359, allocations: 4.125 kB / 378 MB, free: 2.867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.005371, allocations: 4.375 kB / 378 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.005378, allocations: 384 / 378 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.399e-05/0.005402, allocations: 45.56 kB / 378.1 MB, free: 2.812 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.005523, allocations: 104.6 kB / 378.2 MB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.209e-05/0.005586, allocations: 52.8 kB / 378.2 MB, free: 2.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.00561, allocations: 33.39 kB / 378.3 MB, free: 2.562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.005616, allocations: 0 / 378.3 MB, free: 2.562 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.005665, allocations: 67.14 kB / 378.3 MB, free: 2.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.005667, allocations: 0 / 378.3 MB, free: 2.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000202/0.005869, allocations: 122.7 kB / 378.5 MB, free: 2.336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.005914, allocations: 77.11 kB / 378.5 MB, free: 2.242 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.186e-05/0.005966, allocations: 142.2 kB / 378.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.005979, allocations: 33.83 kB / 378.7 MB, free: 2.051 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.006016, allocations: 126.9 kB / 378.8 MB, free: 1.922 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.006036, allocations: 4.297 kB / 378.8 MB, free: 1.918 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.006068, allocations: 23.36 kB / 378.9 MB, free: 1.887 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.006207, allocations: 0.4883 MB / 379.4 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.622e-05/0.006234, allocations: 25.7 kB / 379.4 MB, free: 1.355 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.006253, allocations: 25.7 kB / 379.4 MB, free: 1.324 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.915e-05/0.006312, allocations: 67.03 kB / 379.5 MB, free: 1.242 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006314, allocations: 0 / 379.5 MB, free: 1.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.832e-05/0.006412, allocations: 97.16 kB / 379.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.006449, allocations: 33.7 kB / 379.6 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.006454, allocations: 0 / 379.6 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.006467, allocations: 0 / 379.6 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.006468, allocations: 0 / 379.6 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.006473, allocations: 0 / 379.6 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.006489, allocations: 3.938 kB / 379.6 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.006494, allocations: 0 / 379.6 MB, free: 1.086 MB / 346.7 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 8.926e-05/0.006584, allocations: 186.3 kB / 379.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.006597, allocations: 8 kB / 379.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.837e-06/0.006606, allocations: 7.031 kB / 379.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.006608, allocations: 0 / 379.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.006611, allocations: 0 / 379.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.006614, allocations: 0 / 379.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.124e-05/0.006685, allocations: 108.6 kB / 379.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.006686, allocations: 7.938 kB / 379.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.41e-07/0.006687, allocations: 0 / 379.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.00669, allocations: 7.922 kB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.006699, allocations: 4 kB / 379.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.0067, allocations: 0 / 379.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.006701, allocations: 0 / 379.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.006822, allocations: 131.8 kB / 380 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.006827, allocations: 4 kB / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.006842, allocations: 0 / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-06/0.006852, allocations: 0 / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.006868, allocations: 4 kB / 380.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.006872, allocations: 4 kB / 380.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.591e-05/0.006908, allocations: 119.2 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.006908, allocations: 0 / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.000325/0.007233, allocations: 55.86 kB / 380.2 MB, free: 376 kB / 346.7 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.0005156/0.007749, allocations: 211.7 kB / 380.4 MB, free: 168 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.00788, allocations: 122.4 kB / 380.6 MB, free: 16 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.007882, allocations: 0 / 380.6 MB, free: 16 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.442e-05/0.007936, allocations: 88.8 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.008076, allocations: 4 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002144/0.008291, allocations: 117.6 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.342e-05/0.008324, allocations: 51.36 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.261e-06/0.00833, allocations: 4.125 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.008344, allocations: 8.5 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.008345, allocations: 0 / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of Templates: time 0.004229/0.01257, allocations: 1.593 MB / 382.4 MB, free: 14.07 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0516765711363405]