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.001457/0.001457, allocations: 105 kB / 20.44 MB, free: 1.504 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.001558/0.001558, allocations: 221.6 kB / 23.76 MB, free: 4.723 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.296/1.296, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 179] 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.1955/0.1955, allocations: 44.23 MB / 331 MB, free: 9.535 MB / 270.1 MB " [Timeout remaining time 180] 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.002214/0.002214, allocations: 65 kB / 468.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.1018, allocations: 61.05 MB / 0.5174 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001607/0.1034, allocations: 0.494 MB / 0.5178 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008118/0.1043, allocations: 365.6 kB / 0.5182 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.343e-05/0.1043, allocations: 4 kB / 0.5182 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.1043, allocations: 0 / 0.5182 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.549e-06/0.1043, allocations: 0 / 0.5182 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007379/0.105, allocations: 203.5 kB / 0.5184 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.602e-05/0.1051, allocations: 0 / 0.5184 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.007e-05/0.1051, allocations: 3.984 kB / 0.5184 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.016e-05/0.1051, allocations: 0 / 0.5184 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.554e-05/0.1051, allocations: 4 kB / 0.5184 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.889e-06/0.1051, allocations: 0 / 0.5184 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003352/0.1055, allocations: 207.6 kB / 0.5186 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-06/0.1055, allocations: 0 / 0.5186 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.1055, allocations: 7.984 kB / 0.5186 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.1057, allocations: 151.5 kB / 0.5187 GB, free: 5.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1057, allocations: 0 / 0.5187 GB, free: 5.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1057, allocations: 0 / 0.5187 GB, free: 5.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.1057, allocations: 0 / 0.5187 GB, free: 5.438 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.0003435/0.1061, allocations: 291.9 kB / 0.519 GB, free: 5.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.1061, allocations: 8.031 kB / 0.519 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/0.1061, allocations: 0.9375 kB / 0.519 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.019e-05/0.1062, allocations: 106.5 kB / 0.5191 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1062, allocations: 4.375 kB / 0.5191 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.1062, allocations: 384 / 0.5191 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.313e-05/0.1063, allocations: 34.25 kB / 0.5192 GB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1063, allocations: 192 / 0.5192 GB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1063, allocations: 3.938 kB / 0.5192 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.1063, allocations: 3.938 kB / 0.5192 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.576e-05/0.1063, allocations: 3.938 kB / 0.5192 GB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.1065, allocations: 120.8 kB / 0.5193 GB, free: 4.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.368e-05/0.1065, allocations: 18.58 kB / 0.5193 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.1065, allocations: 8.953 kB / 0.5193 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-06/0.1065, allocations: 0 / 0.5193 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.1066, allocations: 60.25 kB / 0.5194 GB, free: 4.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.1066, allocations: 0 / 0.5194 GB, free: 4.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001508/0.1067, allocations: 75.27 kB / 0.5194 GB, free: 4.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.1068, allocations: 81.05 kB / 0.5195 GB, free: 4.465 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.293e-05/0.1068, allocations: 89.98 kB / 0.5196 GB, free: 4.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1068, allocations: 29.7 kB / 0.5196 GB, free: 4.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.1069, allocations: 80.14 kB / 0.5197 GB, free: 4.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.1069, allocations: 7.984 kB / 0.5197 GB, free: 4.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.1069, allocations: 9.719 kB / 0.5197 GB, free: 4.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.107, allocations: 314.8 kB / 0.52 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-06/0.107, allocations: 0 / 0.52 GB, free: 3.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.029e-06/0.107, allocations: 4 kB / 0.52 GB, free: 3.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.097e-05/0.1071, allocations: 64.33 kB / 0.5201 GB, free: 3.828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1071, allocations: 0 / 0.5201 GB, free: 3.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.016e-05/0.1072, allocations: 63.33 kB / 0.5202 GB, free: 3.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.1072, allocations: 33.7 kB / 0.5202 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/0.1072, allocations: 0 / 0.5202 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1072, allocations: 3.938 kB / 0.5202 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.1072, allocations: 0 / 0.5202 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.1072, allocations: 0 / 0.5202 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.1072, allocations: 4 kB / 0.5202 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1072, allocations: 4 kB / 0.5202 GB, free: 3.703 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 8.178e-05/0.1073, allocations: 135.6 kB / 0.5203 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-06/0.1073, allocations: 3.984 kB / 0.5203 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.548e-06/0.1073, allocations: 10.94 kB / 0.5203 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1074, allocations: 0 / 0.5203 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1074, allocations: 3.984 kB / 0.5204 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.1074, allocations: 0 / 0.5204 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.326e-05/0.1075, allocations: 112.8 kB / 0.5205 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1075, allocations: 0 / 0.5205 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-06/0.1075, allocations: 8 kB / 0.5205 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1075, allocations: 4 kB / 0.5205 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.1075, allocations: 7.922 kB / 0.5205 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.1075, allocations: 0 / 0.5205 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1075, allocations: 0 / 0.5205 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.1076, allocations: 90.78 kB / 0.5206 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-06/0.1076, allocations: 7.922 kB / 0.5206 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.1076, allocations: 3.938 kB / 0.5206 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.548e-05/0.1076, allocations: 12.03 kB / 0.5206 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.1076, allocations: 3.938 kB / 0.5206 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.1076, allocations: 0 / 0.5206 GB, free: 3.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.947e-05/0.1076, allocations: 75.28 kB / 0.5207 GB, free: 3.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1076, allocations: 0 / 0.5207 GB, free: 3.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.1079, allocations: 47.88 kB / 0.5207 GB, free: 3.105 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.0003594/0.1083, allocations: 187.9 kB / 0.5209 GB, free: 2.914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.371e-05/0.1084, allocations: 67.34 kB / 0.521 GB, free: 2.836 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1084, allocations: 0 / 0.521 GB, free: 2.836 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.136e-05/0.1084, allocations: 55.41 kB / 0.521 GB, free: 2.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.1085, allocations: 4 kB / 0.521 GB, free: 2.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001745/0.1087, allocations: 110.5 kB / 0.5211 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.109, allocations: 0.6729 MB / 0.5218 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.225e-05/0.109, allocations: 7.438 kB / 0.5218 GB, free: 1.918 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.109, allocations: 0 / 0.5218 GB, free: 1.918 MB / 398.1 MB Notification: Performance of Templates: time 0.003137/0.1121, allocations: 1.428 MB / 0.5232 GB, free: 500 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/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: 6.880385887110606]