Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001284/0.001284, allocations: 81.55 kB / 21.25 MB, free: 0.5469 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.001359/0.001359, allocations: 161.7 kB / 24.5 MB, free: 3.715 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.437/1.437, allocations: 177.1 MB / 204.7 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2094/0.2094, allocations: 34.26 MB / 295.4 MB, free: 14.47 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 75.88 kB / 443.1 MB, free: 6.496 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3413, allocations: 66.06 MB / 0.4973 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.00143/0.3427, allocations: 0.4948 MB / 0.4977 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007151/0.3434, allocations: 369.8 kB / 0.4981 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.812e-05/0.3434, allocations: 0 / 0.4981 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.338e-05/0.3435, allocations: 3 kB / 0.4981 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.001e-06/0.3435, allocations: 3.938 kB / 0.4981 GB, free: 29.27 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0007491/0.3442, allocations: 204.1 kB / 0.4983 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.304e-05/0.3443, allocations: 7.188 kB / 0.4983 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.865e-05/0.3443, allocations: 7.469 kB / 0.4983 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.042e-05/0.3443, allocations: 0 / 0.4983 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.8e-05/0.3443, allocations: 3.984 kB / 0.4983 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-06/0.3443, allocations: 3.281 kB / 0.4983 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.3447, allocations: 212.2 kB / 0.4985 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.915e-06/0.3447, allocations: 3.984 kB / 0.4985 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.3447, allocations: 0 / 0.4985 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.3449, allocations: 153 kB / 0.4987 GB, free: 29.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3449, allocations: 0 / 0.4987 GB, free: 29.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3449, allocations: 0 / 0.4987 GB, free: 29.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.3449, allocations: 7.125 kB / 0.4987 GB, free: 29.06 MB / 446.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.0002695/0.3452, allocations: 291.9 kB / 0.4989 GB, free: 28.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.3452, allocations: 9.375 kB / 0.499 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.3452, allocations: 4.094 kB / 0.499 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.83e-05/0.3453, allocations: 106.5 kB / 0.4991 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3453, allocations: 384 / 0.4991 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.3453, allocations: 7.406 kB / 0.4991 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.745e-05/0.3454, allocations: 55.44 kB / 0.4991 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3454, allocations: 3.375 kB / 0.4991 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3454, allocations: 3.938 kB / 0.4991 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3454, allocations: 4 kB / 0.4991 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.076e-05/0.3454, allocations: 25.7 kB / 0.4992 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.154e-05/0.3455, allocations: 100.5 kB / 0.4993 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.331e-05/0.3456, allocations: 50.61 kB / 0.4993 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.3456, allocations: 34.5 kB / 0.4993 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.3456, allocations: 0 / 0.4993 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3456, allocations: 59.3 kB / 0.4994 GB, free: 28.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.3456, allocations: 0 / 0.4994 GB, free: 28.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001538/0.3458, allocations: 127.1 kB / 0.4995 GB, free: 28.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.3458, allocations: 77.11 kB / 0.4996 GB, free: 27.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.094e-05/0.3458, allocations: 89.86 kB / 0.4997 GB, free: 27.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.3458, allocations: 32.83 kB / 0.4997 GB, free: 27.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.125e-05/0.3458, allocations: 84.08 kB / 0.4998 GB, free: 27.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.3459, allocations: 0 / 0.4998 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.3459, allocations: 12.72 kB / 0.4998 GB, free: 27.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.3459, allocations: 318.3 kB / 0.5001 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.3459, allocations: 36.83 kB / 0.5001 GB, free: 27.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.868e-06/0.3459, allocations: 25.7 kB / 0.5002 GB, free: 27.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.346, allocations: 59.27 kB / 0.5002 GB, free: 27.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.346, allocations: 0 / 0.5002 GB, free: 27.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.58e-05/0.346, allocations: 94.12 kB / 0.5003 GB, free: 27.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3461, allocations: 32.89 kB / 0.5003 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3461, allocations: 0 / 0.5003 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3461, allocations: 3.25 kB / 0.5003 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-06/0.3461, allocations: 3.938 kB / 0.5003 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3461, allocations: 0 / 0.5003 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.76e-05/0.3461, allocations: 3.984 kB / 0.5003 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.3461, allocations: 0 / 0.5003 GB, free: 27.16 MB / 446.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 5.81e-05/0.3462, allocations: 142.2 kB / 0.5005 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-06/0.3462, allocations: 0 / 0.5005 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.846e-06/0.3462, allocations: 6.188 kB / 0.5005 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3462, allocations: 7.938 kB / 0.5005 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3462, allocations: 0 / 0.5005 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3462, allocations: 0 / 0.5005 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.857e-05/0.3462, allocations: 99.86 kB / 0.5006 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3462, allocations: 0 / 0.5006 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3462, allocations: 0 / 0.5006 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.3462, allocations: 0 / 0.5006 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.3462, allocations: 0 / 0.5006 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.3462, allocations: 0 / 0.5006 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3462, allocations: 7.281 kB / 0.5006 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.05e-05/0.3463, allocations: 121.5 kB / 0.5007 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-06/0.3463, allocations: 3.219 kB / 0.5007 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.3463, allocations: 0 / 0.5007 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-06/0.3463, allocations: 0 / 0.5007 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.121e-05/0.3464, allocations: 7.938 kB / 0.5007 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.3464, allocations: 3.312 kB / 0.5007 GB, free: 26.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.441e-05/0.3464, allocations: 82.64 kB / 0.5008 GB, free: 26.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3464, allocations: 0 / 0.5008 GB, free: 26.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000255/0.3466, allocations: 50.47 kB / 0.5009 GB, free: 26.64 MB / 446.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.0003553/0.347, allocations: 195.1 kB / 0.501 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.3471, allocations: 113.1 kB / 0.5011 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3471, allocations: 0 / 0.5011 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.243e-05/0.3471, allocations: 84.33 kB / 0.5012 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.3473, allocations: 0 / 0.5012 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001773/0.3474, allocations: 114.3 kB / 0.5013 GB, free: 26.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.004e-05/0.3475, allocations: 54.64 kB / 0.5014 GB, free: 26.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.52e-06/0.3475, allocations: 0 / 0.5014 GB, free: 26.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.157e-05/0.3475, allocations: 12.62 kB / 0.5014 GB, free: 26.08 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3475, allocations: 0 / 0.5014 GB, free: 26.08 MB / 446.1 MB Notification: Performance of Templates: time 0.004108/0.3516, allocations: 1.527 MB / 0.5029 GB, free: 25.91 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.93699027900584]