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: 98.91 kB / 16.93 MB, free: 5.871 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.001623/0.001623, allocations: 183.3 kB / 17.86 MB, free: 5.164 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.495/1.495, allocations: 205.1 MB / 223.7 MB, free: 12.27 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.2305/0.2305, allocations: 43.53 MB / 314.6 MB, free: 0.5234 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.001372/0.001372, allocations: 67.83 kB / 383.4 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1203, allocations: 57.79 MB / 441.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001503/0.1218, allocations: 493.4 kB / 441.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005839/0.1224, allocations: 357.2 kB / 442 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.518e-06/0.1224, allocations: 0 / 442 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.883e-06/0.1225, allocations: 3.938 kB / 442 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.845e-06/0.1225, allocations: 0 / 442 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.123, allocations: 183.6 kB / 442.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 2.026e-05/0.123, allocations: 0 / 442.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 1.788e-05/0.123, allocations: 4 kB / 442.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-06/0.123, allocations: 0 / 442.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.075e-05/0.1231, allocations: 0 / 442.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-06/0.1231, allocations: 0 / 442.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.1233, allocations: 159.7 kB / 442.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.829e-06/0.1233, allocations: 4 kB / 442.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.067e-05/0.1233, allocations: 4 kB / 442.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.1235, allocations: 139.7 kB / 442.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1235, allocations: 3.984 kB / 442.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1235, allocations: 0 / 442.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.1235, allocations: 4 kB / 442.5 MB, free: 5.594 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.0001857/0.1237, allocations: 365.2 kB / 442.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.344e-05/0.1237, allocations: 11.89 kB / 442.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.696e-05/0.1237, allocations: 0.9375 kB / 442.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.573e-05/0.1238, allocations: 168.4 kB / 443 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.631e-06/0.1238, allocations: 384 / 443 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-06/0.1238, allocations: 384 / 443 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.998e-05/0.1238, allocations: 30.27 kB / 443.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-06/0.1238, allocations: 192 / 443.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-06/0.1238, allocations: 3.938 kB / 443.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-06/0.1239, allocations: 3.984 kB / 443.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.205e-05/0.1239, allocations: 7.922 kB / 443.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.296e-05/0.1239, allocations: 149.7 kB / 443.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 1.916e-05/0.124, allocations: 18.58 kB / 443.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.876e-06/0.124, allocations: 4.859 kB / 443.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-06/0.124, allocations: 0 / 443.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.124, allocations: 60.33 kB / 443.3 MB, free: 4.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.124, allocations: 3.938 kB / 443.3 MB, free: 4.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 8.988e-05/0.1241, allocations: 75.27 kB / 443.4 MB, free: 4.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.1241, allocations: 81.23 kB / 443.5 MB, free: 4.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.716e-05/0.1242, allocations: 89.86 kB / 443.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.605e-06/0.1242, allocations: 29.64 kB / 443.6 MB, free: 4.289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.211e-05/0.1242, allocations: 80.14 kB / 443.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.923e-06/0.1242, allocations: 0 / 443.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.1242, allocations: 13.72 kB / 443.7 MB, free: 4.188 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.972e-05/0.1243, allocations: 318.8 kB / 444 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-06/0.1243, allocations: 0 / 444 MB, free: 3.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.1243, allocations: 8 kB / 444 MB, free: 3.859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.087e-05/0.1243, allocations: 56.27 kB / 444.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1243, allocations: 0 / 444.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.73e-05/0.1244, allocations: 63.34 kB / 444.1 MB, free: 3.715 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1244, allocations: 37.69 kB / 444.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-06/0.1244, allocations: 4 kB / 444.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.1244, allocations: 3.938 kB / 444.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-07/0.1244, allocations: 0 / 444.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.1244, allocations: 0 / 444.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.09e-05/0.1245, allocations: 4.375 kB / 444.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.1245, allocations: 0 / 444.2 MB, free: 3.66 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.349e-05/0.1245, allocations: 144.6 kB / 444.3 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.1245, allocations: 0 / 444.3 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.503e-06/0.1245, allocations: 7.062 kB / 444.3 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.1245, allocations: 0 / 444.3 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.1245, allocations: 7.984 kB / 444.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-06/0.1246, allocations: 0 / 444.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.39e-05/0.1246, allocations: 145.6 kB / 444.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1246, allocations: 4 kB / 444.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1246, allocations: 0 / 444.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1246, allocations: 0 / 444.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.1246, allocations: 7.938 kB / 444.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1246, allocations: 0 / 444.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1246, allocations: 0 / 444.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.676e-05/0.1247, allocations: 94.75 kB / 444.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.1247, allocations: 81.11 kB / 444.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-06/0.1247, allocations: 11.91 kB / 444.7 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-06/0.1247, allocations: 3.984 kB / 444.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-06/0.1248, allocations: 0 / 444.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.1248, allocations: 0 / 444.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.187e-05/0.1248, allocations: 79.28 kB / 444.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1248, allocations: 0 / 444.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.125, allocations: 44 kB / 444.8 MB, free: 2.934 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.0002732/0.1253, allocations: 190.8 kB / 445 MB, free: 2.746 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 5.392e-05/0.1254, allocations: 59.39 kB / 445 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1254, allocations: 0 / 445 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.068e-05/0.1254, allocations: 63.34 kB / 445.1 MB, free: 2.602 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.987e-05/0.1255, allocations: 2.969 kB / 445.1 MB, free: 2.602 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.19e-05/0.1256, allocations: 98.77 kB / 445.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.1257, allocations: 0.6767 MB / 445.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-06/0.1257, allocations: 7.562 kB / 445.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1257, allocations: 4 kB / 445.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of Templates: time 0.002297/0.128, allocations: 1.428 MB / 447.3 MB, free: 336 kB / 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","/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