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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 101.4 kB / 16.64 MB, free: 6.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 194.5 kB / 17.56 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2112/0.2112, allocations: 43.51 MB / 314.3 MB, free: 0.7148 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 64.88 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1021, allocations: 57.79 MB / 440.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001717/0.1038, allocations: 0.5544 MB / 441.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006711/0.1045, allocations: 345.3 kB / 441.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.713e-05/0.1046, allocations: 0 / 441.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.1046, allocations: 0 / 441.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.719e-06/0.1046, allocations: 0 / 441.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007398/0.1054, allocations: 179.3 kB / 441.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.301e-05/0.1054, allocations: 4 kB / 441.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.1054, allocations: 4 kB / 441.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.381e-05/0.1055, allocations: 0 / 441.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.702e-05/0.1055, allocations: 0 / 441.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.929e-06/0.1055, allocations: 0 / 441.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.1057, allocations: 167.6 kB / 441.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.203e-06/0.1058, allocations: 0 / 441.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.1058, allocations: 4 kB / 441.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.106, allocations: 103.8 kB / 442 MB, free: 6.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.106, allocations: 0 / 442 MB, free: 6.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.106, allocations: 0 / 442 MB, free: 6.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.106, allocations: 0 / 442 MB, free: 6.039 MB / 318.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.0003119/0.1063, allocations: 372.5 kB / 442.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.1063, allocations: 11.89 kB / 442.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.1064, allocations: 0.9375 kB / 442.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.038e-05/0.1064, allocations: 164.4 kB / 442.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1065, allocations: 4.375 kB / 442.5 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.1065, allocations: 384 / 442.5 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.115e-05/0.1065, allocations: 26.27 kB / 442.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1066, allocations: 4.125 kB / 442.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1066, allocations: 11.92 kB / 442.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1066, allocations: 4 kB / 442.6 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.58e-05/0.1066, allocations: 0 / 442.6 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.284e-05/0.1067, allocations: 141.7 kB / 442.7 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.563e-05/0.1067, allocations: 18.61 kB / 442.7 MB, free: 5.141 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.311e-05/0.1068, allocations: 8.859 kB / 442.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-06/0.1068, allocations: 0 / 442.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.1068, allocations: 60.33 kB / 442.8 MB, free: 5.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.1068, allocations: 4 kB / 442.8 MB, free: 5.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001553/0.107, allocations: 71.27 kB / 442.9 MB, free: 4.969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.107, allocations: 77.11 kB / 443 MB, free: 4.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.819e-05/0.107, allocations: 93.8 kB / 443 MB, free: 4.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.107, allocations: 29.7 kB / 443.1 MB, free: 4.738 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.433e-05/0.1071, allocations: 84.12 kB / 443.2 MB, free: 4.652 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.1071, allocations: 0 / 443.2 MB, free: 4.652 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.1071, allocations: 17.7 kB / 443.2 MB, free: 4.629 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.011e-05/0.1072, allocations: 315 kB / 443.5 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.408e-06/0.1072, allocations: 0 / 443.5 MB, free: 4.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-06/0.1072, allocations: 0 / 443.5 MB, free: 4.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/0.1072, allocations: 64.2 kB / 443.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1072, allocations: 0 / 443.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.503e-05/0.1073, allocations: 67.39 kB / 443.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.1073, allocations: 29.7 kB / 443.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1073, allocations: 8 kB / 443.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1074, allocations: 8.031 kB / 443.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.1074, allocations: 0 / 443.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.1074, allocations: 0 / 443.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.558e-05/0.1074, allocations: 4.219 kB / 443.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1074, allocations: 0 / 443.7 MB, free: 4.102 MB / 318.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.035e-05/0.1075, allocations: 139.5 kB / 443.8 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-06/0.1075, allocations: 0 / 443.8 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.011e-05/0.1075, allocations: 15.03 kB / 443.8 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1075, allocations: 0 / 443.8 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1075, allocations: 4 kB / 443.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1075, allocations: 0 / 443.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.609e-05/0.1076, allocations: 153.6 kB / 444 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1076, allocations: 0 / 444 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.1076, allocations: 0 / 444 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1076, allocations: 0 / 444 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.1076, allocations: 3.938 kB / 444 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1076, allocations: 7.922 kB / 444 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1076, allocations: 4 kB / 444 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.878e-05/0.1077, allocations: 86.84 kB / 444.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.1077, allocations: 77.11 kB / 444.1 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.1077, allocations: 11.92 kB / 444.2 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.938e-06/0.1077, allocations: 0 / 444.2 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.1078, allocations: 0 / 444.2 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.1078, allocations: 3.938 kB / 444.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.359e-05/0.1078, allocations: 75.28 kB / 444.2 MB, free: 3.422 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1078, allocations: 0 / 444.2 MB, free: 3.422 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1081, allocations: 52 kB / 444.3 MB, free: 3.371 MB / 318.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.0003512/0.1084, allocations: 187.4 kB / 444.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.726e-05/0.1085, allocations: 59.34 kB / 444.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1085, allocations: 0 / 444.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.775e-05/0.1085, allocations: 55.41 kB / 444.6 MB, free: 3.051 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.1087, allocations: 2.969 kB / 444.6 MB, free: 3.051 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001539/0.1088, allocations: 110.9 kB / 444.7 MB, free: 2.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.598e-05/0.109, allocations: 0.6766 MB / 445.4 MB, free: 2.207 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.021e-05/0.109, allocations: 11.44 kB / 445.4 MB, free: 2.195 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.109, allocations: 0 / 445.4 MB, free: 2.195 MB / 318.1 MB Notification: Performance of Templates: time 0.002986/0.112, allocations: 1.424 MB / 446.8 MB, free: 0.7695 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.makefile (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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches