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.001544/0.001544, allocations: 73.56 kB / 21.24 MB, free: 0.5547 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.001655/0.001655, allocations: 158.6 kB / 24.5 MB, free: 3.715 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.452/1.452, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.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.2117/0.2117, allocations: 34.28 MB / 295.5 MB, free: 14.55 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.002053/0.002053, allocations: 67.88 kB / 443.1 MB, free: 6.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3224, allocations: 66.01 MB / 0.4972 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001408/0.3238, allocations: 495.3 kB / 0.4977 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008012/0.3246, allocations: 383.9 kB / 0.4981 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.608e-05/0.3246, allocations: 0 / 0.4981 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.3246, allocations: 0 / 0.4981 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.945e-06/0.3246, allocations: 0 / 0.4981 GB, free: 29.29 MB / 446.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.0008603/0.3255, allocations: 205.2 kB / 0.4983 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.266e-05/0.3255, allocations: 11.05 kB / 0.4983 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.3256, allocations: 0 / 0.4983 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.755e-05/0.3256, allocations: 3.938 kB / 0.4983 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.988e-05/0.3256, allocations: 6.938 kB / 0.4983 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.793e-06/0.3256, allocations: 0 / 0.4983 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.326, allocations: 224 kB / 0.4985 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.614e-06/0.326, allocations: 0 / 0.4985 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.326, allocations: 3.156 kB / 0.4985 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.3262, allocations: 151 kB / 0.4986 GB, free: 29.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3262, allocations: 0 / 0.4986 GB, free: 29.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3262, allocations: 0 / 0.4986 GB, free: 29.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.3262, allocations: 0 / 0.4986 GB, free: 29.09 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.0002831/0.3265, allocations: 298.8 kB / 0.4989 GB, free: 28.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.3265, allocations: 13.28 kB / 0.4989 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.3266, allocations: 0.9375 kB / 0.4989 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.908e-05/0.3266, allocations: 109.5 kB / 0.499 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3266, allocations: 384 / 0.499 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.3267, allocations: 384 / 0.499 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.937e-05/0.3267, allocations: 62.48 kB / 0.4991 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3267, allocations: 192 / 0.4991 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3267, allocations: 3.938 kB / 0.4991 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3268, allocations: 0 / 0.4991 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.354e-05/0.3268, allocations: 32.64 kB / 0.4991 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.037e-05/0.3269, allocations: 96.48 kB / 0.4992 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.458e-05/0.3269, allocations: 48.22 kB / 0.4993 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.3269, allocations: 37.2 kB / 0.4993 GB, free: 28.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.3269, allocations: 0 / 0.4993 GB, free: 28.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.327, allocations: 63.39 kB / 0.4994 GB, free: 28.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.327, allocations: 0 / 0.4994 GB, free: 28.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001593/0.3271, allocations: 120.7 kB / 0.4995 GB, free: 28.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.3272, allocations: 80.33 kB / 0.4996 GB, free: 28.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.486e-05/0.3272, allocations: 89.86 kB / 0.4996 GB, free: 27.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.3272, allocations: 29.64 kB / 0.4997 GB, free: 27.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.488e-06/0.3272, allocations: 80.27 kB / 0.4997 GB, free: 27.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.3272, allocations: 11.94 kB / 0.4998 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.3272, allocations: 13.16 kB / 0.4998 GB, free: 27.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.623e-05/0.3273, allocations: 310.8 kB / 0.5001 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.3273, allocations: 32.47 kB / 0.5001 GB, free: 27.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.3273, allocations: 25.7 kB / 0.5001 GB, free: 27.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.404e-05/0.3273, allocations: 63.61 kB / 0.5002 GB, free: 27.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3273, allocations: 0 / 0.5002 GB, free: 27.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.29e-05/0.3274, allocations: 86.95 kB / 0.5003 GB, free: 27.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3274, allocations: 36.17 kB / 0.5003 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3274, allocations: 4.094 kB / 0.5003 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3274, allocations: 0 / 0.5003 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.194e-06/0.3274, allocations: 11.12 kB / 0.5003 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3274, allocations: 0 / 0.5003 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.452e-05/0.3275, allocations: 0 / 0.5003 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.3275, allocations: 0 / 0.5003 GB, free: 27.18 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 4.912e-05/0.3275, allocations: 138.2 kB / 0.5004 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-06/0.3275, allocations: 4 kB / 0.5005 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.067e-06/0.3275, allocations: 6.25 kB / 0.5005 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3275, allocations: 3.938 kB / 0.5005 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3275, allocations: 4 kB / 0.5005 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3275, allocations: 0 / 0.5005 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.908e-05/0.3276, allocations: 97.33 kB / 0.5006 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.3276, allocations: 3.281 kB / 0.5006 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3276, allocations: 0 / 0.5006 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3276, allocations: 3.516 kB / 0.5006 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.3276, allocations: 0 / 0.5006 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.3276, allocations: 0 / 0.5006 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3276, allocations: 3.938 kB / 0.5006 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.123e-05/0.3277, allocations: 120.8 kB / 0.5007 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-06/0.3277, allocations: 4.031 kB / 0.5007 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.3277, allocations: 7.156 kB / 0.5007 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-06/0.3277, allocations: 0 / 0.5007 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.3277, allocations: 3.938 kB / 0.5007 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.3277, allocations: 3.125 kB / 0.5007 GB, free: 26.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.423e-05/0.3277, allocations: 75.28 kB / 0.5008 GB, free: 26.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 4e-08/0.3277, allocations: 0 / 0.5008 GB, free: 26.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.328, allocations: 56.58 kB / 0.5008 GB, free: 26.66 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.0003474/0.3283, allocations: 200.2 kB / 0.501 GB, free: 26.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.985e-05/0.3284, allocations: 116.3 kB / 0.5011 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3284, allocations: 0 / 0.5011 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/0.3284, allocations: 80.39 kB / 0.5012 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.3286, allocations: 3.188 kB / 0.5012 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000162/0.3287, allocations: 114.9 kB / 0.5013 GB, free: 26.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.715e-05/0.3287, allocations: 58.45 kB / 0.5014 GB, free: 26.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.751e-06/0.3287, allocations: 0 / 0.5014 GB, free: 26.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.089e-05/0.3288, allocations: 8.5 kB / 0.5014 GB, free: 26.1 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3288, allocations: 7.312 kB / 0.5014 GB, free: 26.09 MB / 446.1 MB Notification: Performance of Templates: time 0.003922/0.3327, allocations: 1.539 MB / 0.5029 GB, free: 25.93 MB / 446.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 -s ida -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: 4.849583633011207]