Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001688/0.001688, allocations: 181.1 kB / 16.08 MB, free: 5.535 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.6 MB / 222.4 MB, free: 13.67 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008211/0.0008214, allocations: 98.23 kB / 270.8 MB, free: 13.18 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2308/0.2308, allocations: 43.68 MB / 362.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003204, allocations: 8 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 58.86 MB / 491.2 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0006193/0.1033, allocations: 228.7 kB / 491.4 MB, free: 7.895 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1044, allocations: 1.031 MB / 492.4 MB, free: 6.695 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.11e-05/0.1044, allocations: 0 / 492.4 MB, free: 6.695 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.808e-06/0.1044, allocations: 0 / 492.4 MB, free: 6.695 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.038e-06/0.1044, allocations: 0 / 492.4 MB, free: 6.695 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005906/0.105, allocations: 147.6 kB / 492.6 MB, free: 6.551 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 3.331e-05/0.1051, allocations: 8 kB / 492.6 MB, free: 6.543 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.1051, allocations: 3.984 kB / 492.6 MB, free: 6.539 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.352e-05/0.1051, allocations: 0 / 492.6 MB, free: 6.539 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.964e-05/0.1052, allocations: 0 / 492.6 MB, free: 6.539 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.492e-06/0.1052, allocations: 0 / 492.6 MB, free: 6.539 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.1054, allocations: 143.7 kB / 492.7 MB, free: 6.398 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.173e-06/0.1055, allocations: 4 kB / 492.7 MB, free: 6.395 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.1055, allocations: 37.62 kB / 492.8 MB, free: 6.352 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.1057, allocations: 139.7 kB / 492.9 MB, free: 6.215 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1058, allocations: 8 kB / 492.9 MB, free: 6.207 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1058, allocations: 0 / 492.9 MB, free: 6.207 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1058, allocations: 0 / 492.9 MB, free: 6.207 MB / 330.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.0003377/0.1061, allocations: 357.3 kB / 493.2 MB, free: 5.801 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1062, allocations: 8.031 kB / 493.3 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.545e-05/0.1062, allocations: 0.9375 kB / 493.3 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.328e-05/0.1063, allocations: 160.4 kB / 493.4 MB, free: 5.598 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1063, allocations: 8.359 kB / 493.4 MB, free: 5.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.1063, allocations: 4.375 kB / 493.4 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.557e-05/0.1064, allocations: 26.27 kB / 493.4 MB, free: 5.555 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.1064, allocations: 4.125 kB / 493.5 MB, free: 5.551 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1064, allocations: 3.938 kB / 493.5 MB, free: 5.547 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1065, allocations: 7.938 kB / 493.5 MB, free: 5.539 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.874e-05/0.1065, allocations: 4 kB / 493.5 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.1066, allocations: 141.7 kB / 493.6 MB, free: 5.348 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.724e-05/0.1067, allocations: 26.59 kB / 493.6 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.1067, allocations: 4.859 kB / 493.6 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.1067, allocations: 0 / 493.6 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.1067, allocations: 56.27 kB / 493.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 2.625e-06/0.1067, allocations: 64 / 493.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001535/0.1069, allocations: 71.28 kB / 493.8 MB, free: 5.152 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.107, allocations: 85.22 kB / 493.8 MB, free: 5.051 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.532e-05/0.107, allocations: 93.86 kB / 493.9 MB, free: 4.949 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.107, allocations: 25.7 kB / 494 MB, free: 4.918 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.1071, allocations: 80.14 kB / 494 MB, free: 4.836 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.1071, allocations: 0 / 494 MB, free: 4.836 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.1071, allocations: 0 / 494 MB, free: 4.836 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1072, allocations: 314.8 kB / 494.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.1072, allocations: 4 kB / 494.4 MB, free: 4.516 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.1072, allocations: 0 / 494.4 MB, free: 4.516 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.65e-05/0.1073, allocations: 72.2 kB / 494.4 MB, free: 4.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1073, allocations: 0 / 494.4 MB, free: 4.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.712e-05/0.1074, allocations: 59.39 kB / 494.5 MB, free: 4.359 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.1074, allocations: 33.7 kB / 494.5 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1074, allocations: 4 kB / 494.5 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1075, allocations: 3.938 kB / 494.5 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.1075, allocations: 0 / 494.5 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1075, allocations: 0 / 494.5 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.1075, allocations: 0 / 494.5 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1075, allocations: 8.031 kB / 494.5 MB, free: 4.305 MB / 330.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.91e-05/0.1076, allocations: 143.5 kB / 494.7 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-06/0.1076, allocations: 0 / 494.7 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.332e-05/0.1076, allocations: 7.062 kB / 494.7 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1076, allocations: 4 kB / 494.7 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1077, allocations: 0 / 494.7 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1077, allocations: 0 / 494.7 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.057e-05/0.1078, allocations: 141.7 kB / 494.8 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.1078, allocations: 3.984 kB / 494.8 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1078, allocations: 3.938 kB / 494.8 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1078, allocations: 8 kB / 494.8 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.1078, allocations: 7.875 kB / 494.8 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1078, allocations: 0 / 494.8 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1078, allocations: 0 / 494.8 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.845e-05/0.1079, allocations: 90.83 kB / 494.9 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.1079, allocations: 77.11 kB / 495 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.108, allocations: 3.938 kB / 495 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-06/0.108, allocations: 4.031 kB / 495 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.108, allocations: 0 / 495 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.108, allocations: 4 kB / 495 MB, free: 3.707 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.783e-05/0.108, allocations: 79.28 kB / 495.1 MB, free: 3.629 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.108, allocations: 0 / 495.1 MB, free: 3.629 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002761/0.1083, allocations: 43.98 kB / 495.1 MB, free: 3.586 MB / 330.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.0003789/0.1087, allocations: 193 kB / 495.3 MB, free: 3.398 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.556e-05/0.1088, allocations: 67.34 kB / 495.4 MB, free: 3.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1088, allocations: 0 / 495.4 MB, free: 3.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.118e-05/0.1089, allocations: 59.41 kB / 495.4 MB, free: 3.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.109, allocations: 3.938 kB / 495.5 MB, free: 3.246 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001714/0.1092, allocations: 84.83 kB / 495.5 MB, free: 3.141 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.1094, allocations: 0.6692 MB / 496.2 MB, free: 2.445 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.152e-06/0.1094, allocations: 0 / 496.2 MB, free: 2.445 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.107e-06/0.1094, allocations: 7.562 kB / 496.2 MB, free: 2.438 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.1094, allocations: 7.938 kB / 496.2 MB, free: 2.43 MB / 330.7 MB Notification: Performance of Templates: time 0.003579/0.113, allocations: 1.426 MB / 497.6 MB, free: 1.008 MB / 330.7 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/jenkins/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