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.001746/0.001746, allocations: 107.6 kB / 17.03 MB, free: 5.66 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.001957/0.001957, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.353/1.353, allocations: 205.1 MB / 223.8 MB, free: 12.24 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.202/0.202, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 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.001613/0.001613, allocations: 65.55 kB / 384.2 MB, free: 56.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09742/0.09905, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001688/0.1008, allocations: 0.4932 MB / 442.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006288/0.1014, allocations: 346.2 kB / 442.8 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.352e-05/0.1014, allocations: 4 kB / 442.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.1015, allocations: 0 / 442.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.629e-06/0.1015, allocations: 0 / 442.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.1022, allocations: 187.5 kB / 443 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.63e-05/0.1022, allocations: 0 / 443 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.1023, allocations: 4 kB / 443 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.277e-05/0.1023, allocations: 3.984 kB / 443 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.858e-05/0.1023, allocations: 4 kB / 443 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.322e-06/0.1023, allocations: 0 / 443 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002446/0.1026, allocations: 167.7 kB / 443.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.1026, allocations: 0 / 443.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.823e-05/0.1026, allocations: 4 kB / 443.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.1028, allocations: 143.7 kB / 443.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1028, allocations: 0 / 443.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1028, allocations: 0 / 443.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1028, allocations: 0 / 443.3 MB, free: 4.828 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.0002715/0.1031, allocations: 373.2 kB / 443.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1031, allocations: 15.89 kB / 443.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.1032, allocations: 0.9375 kB / 443.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.986e-05/0.1032, allocations: 164.3 kB / 443.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1032, allocations: 384 / 443.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.1033, allocations: 384 / 443.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.958e-05/0.1033, allocations: 34.25 kB / 443.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.1034, allocations: 192 / 443.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.1034, allocations: 7.922 kB / 443.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1034, allocations: 0 / 443.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.577e-05/0.1034, allocations: 8 kB / 443.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.729e-05/0.1035, allocations: 145.7 kB / 444 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.294e-05/0.1035, allocations: 18.52 kB / 444 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.1036, allocations: 15.23 kB / 444.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.1036, allocations: 0 / 444.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1036, allocations: 60.27 kB / 444.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.1036, allocations: 0 / 444.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.000142/0.1038, allocations: 71.34 kB / 444.2 MB, free: 3.746 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.1038, allocations: 81.05 kB / 444.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.686e-05/0.1038, allocations: 97.78 kB / 444.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.1038, allocations: 29.7 kB / 444.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.001e-05/0.1039, allocations: 84.08 kB / 444.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.1039, allocations: 0 / 444.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.1039, allocations: 9.719 kB / 444.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.718e-05/0.1039, allocations: 315 kB / 444.8 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-06/0.104, allocations: 4 kB / 444.8 MB, free: 3.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.104, allocations: 4 kB / 444.8 MB, free: 3.082 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.697e-05/0.104, allocations: 60.27 kB / 444.9 MB, free: 3.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.104, allocations: 0 / 444.9 MB, free: 3.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.944e-05/0.1041, allocations: 63.39 kB / 444.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.1041, allocations: 29.7 kB / 444.9 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1041, allocations: 0 / 444.9 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1041, allocations: 3.938 kB / 444.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.1041, allocations: 4.094 kB / 445 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1041, allocations: 3.938 kB / 445 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.433e-05/0.1041, allocations: 4 kB / 445 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1042, allocations: 0 / 445 MB, free: 2.883 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 4.369e-05/0.1042, allocations: 144.6 kB / 445.1 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.1042, allocations: 4 kB / 445.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.747e-06/0.1042, allocations: 7.062 kB / 445.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1042, allocations: 0 / 445.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1042, allocations: 0 / 445.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.1043, allocations: 4 kB / 445.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.745e-05/0.1043, allocations: 145.6 kB / 445.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1043, allocations: 7.984 kB / 445.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.1043, allocations: 0 / 445.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1043, allocations: 0 / 445.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.1044, allocations: 7.922 kB / 445.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1044, allocations: 0 / 445.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1044, allocations: 0 / 445.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.848e-05/0.1044, allocations: 94.83 kB / 445.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.1045, allocations: 77.11 kB / 445.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.1045, allocations: 3.938 kB / 445.4 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.042e-05/0.1045, allocations: 7.938 kB / 445.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-06/0.1045, allocations: 3.938 kB / 445.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1045, allocations: 0 / 445.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.521e-05/0.1045, allocations: 75.28 kB / 445.5 MB, free: 2.203 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1045, allocations: 0 / 445.5 MB, free: 2.203 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1048, allocations: 51.98 kB / 445.6 MB, free: 2.152 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.0003202/0.1051, allocations: 183.3 kB / 445.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.157e-05/0.1052, allocations: 59.41 kB / 445.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1052, allocations: 0 / 445.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.507e-05/0.1052, allocations: 55.41 kB / 445.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.1054, allocations: 4 kB / 445.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001299/0.1055, allocations: 81.19 kB / 446 MB, free: 1.727 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.558e-05/0.1056, allocations: 0.6766 MB / 446.6 MB, free: 1.023 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.75e-06/0.1056, allocations: 0 / 446.6 MB, free: 1.023 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.816e-06/0.1056, allocations: 11.44 kB / 446.6 MB, free: 1.012 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1056, allocations: 0 / 446.6 MB, free: 1.012 MB / 318.1 MB Notification: Performance of Templates: time 0.003833/0.1095, allocations: 1.417 MB / 448.1 MB, free: 15.59 MB / 334.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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches