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.001822/0.001822, allocations: 120.2 kB / 17.83 MB, free: 5.242 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.002262/0.002262, allocations: 204.7 kB / 20.79 MB, free: 2.297 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.465/1.465, allocations: 207.6 MB / 231.2 MB, free: 4.086 MB / 174.1 MB " [Timeout remaining time 178] 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.3795/0.3795, allocations: 44.22 MB / 327.3 MB, free: 6.715 MB / 254.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions",fmuType="cs",version="2.0",platforms={"static"}) [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.002597/0.002597, allocations: 71.89 kB / 462.9 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2826, allocations: 61 MB / 0.5116 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.00177/0.2844, allocations: 0.4972 MB / 0.5121 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008326/0.2852, allocations: 350.2 kB / 0.5124 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.672e-05/0.2852, allocations: 0 / 0.5124 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.2853, allocations: 3.938 kB / 0.5124 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.191e-06/0.2853, allocations: 4 kB / 0.5125 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007514/0.286, allocations: 182.2 kB / 0.5126 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.068e-05/0.2861, allocations: 2.031 kB / 0.5126 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.2861, allocations: 4.984 kB / 0.5126 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.407e-05/0.2861, allocations: 1 kB / 0.5126 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.271e-05/0.2862, allocations: 3.984 kB / 0.5126 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-06/0.2862, allocations: 1.062 kB / 0.5126 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.2864, allocations: 180 kB / 0.5128 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.176e-06/0.2864, allocations: 1 kB / 0.5128 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.2864, allocations: 9.016 kB / 0.5128 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.2867, allocations: 138.5 kB / 0.513 GB, free: 12.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2867, allocations: 0 / 0.513 GB, free: 12.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2867, allocations: 0 / 0.513 GB, free: 12.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.2867, allocations: 1.344 kB / 0.513 GB, free: 12.25 MB / 382.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.0003225/0.287, allocations: 368.8 kB / 0.5133 GB, free: 11.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.287, allocations: 13.98 kB / 0.5133 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.925e-05/0.2871, allocations: 192 / 0.5133 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.705e-05/0.2871, allocations: 31.94 kB / 0.5133 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.2871, allocations: 0.9375 kB / 0.5133 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.917e-05/0.2872, allocations: 168.3 kB / 0.5135 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2872, allocations: 9.547 kB / 0.5135 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.2872, allocations: 1.438 kB / 0.5135 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.84e-05/0.2872, allocations: 32.36 kB / 0.5136 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2873, allocations: 0 / 0.5136 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.2873, allocations: 1.031 kB / 0.5136 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2873, allocations: 0 / 0.5136 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.2873, allocations: 5.344 kB / 0.5136 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.394e-05/0.2874, allocations: 142.9 kB / 0.5137 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.886e-05/0.2874, allocations: 33.05 kB / 0.5137 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.22e-05/0.2874, allocations: 4.859 kB / 0.5137 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.2874, allocations: 1.312 kB / 0.5137 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.2875, allocations: 65.23 kB / 0.5138 GB, free: 11.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.2875, allocations: 0 / 0.5138 GB, free: 11.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001702/0.2876, allocations: 60.19 kB / 0.5139 GB, free: 11.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.2877, allocations: 81.22 kB / 0.5139 GB, free: 11.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.457e-05/0.2877, allocations: 93.86 kB / 0.514 GB, free: 10.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.2877, allocations: 29.64 kB / 0.514 GB, free: 10.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.339e-05/0.2877, allocations: 81.64 kB / 0.5141 GB, free: 10.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.2877, allocations: 0 / 0.5141 GB, free: 10.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.2878, allocations: 19.75 kB / 0.5141 GB, free: 10.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.66e-05/0.2878, allocations: 311.9 kB / 0.5144 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.2878, allocations: 1.094 kB / 0.5144 GB, free: 10.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-06/0.2878, allocations: 1.062 kB / 0.5144 GB, free: 10.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.459e-05/0.2879, allocations: 63.55 kB / 0.5145 GB, free: 10.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.2879, allocations: 4 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.363e-05/0.2879, allocations: 66.3 kB / 0.5146 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.288, allocations: 35.2 kB / 0.5146 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.288, allocations: 0 / 0.5146 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.288, allocations: 1.156 kB / 0.5146 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.104e-06/0.288, allocations: 3.938 kB / 0.5146 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.288, allocations: 5.234 kB / 0.5146 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.665e-05/0.288, allocations: 4.031 kB / 0.5146 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.288, allocations: 1.469 kB / 0.5146 GB, free: 10.34 MB / 382.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 6e-05/0.2881, allocations: 140.9 kB / 0.5148 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.784e-06/0.2881, allocations: 5.031 kB / 0.5148 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.036e-05/0.2881, allocations: 4.344 kB / 0.5148 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.2881, allocations: 3.938 kB / 0.5148 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2881, allocations: 0 / 0.5148 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2881, allocations: 1.156 kB / 0.5148 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.222e-05/0.2881, allocations: 146.7 kB / 0.5149 GB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.2881, allocations: 4 kB / 0.5149 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.2881, allocations: 1.125 kB / 0.5149 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2881, allocations: 3.938 kB / 0.5149 GB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.2882, allocations: 1.156 kB / 0.5149 GB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.2882, allocations: 0 / 0.5149 GB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2882, allocations: 1.375 kB / 0.5149 GB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.386e-05/0.2882, allocations: 88.64 kB / 0.515 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.2883, allocations: 82.11 kB / 0.5151 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.2883, allocations: 13.12 kB / 0.5151 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-06/0.2883, allocations: 1.219 kB / 0.5151 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.2883, allocations: 0 / 0.5151 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.2883, allocations: 1.188 kB / 0.5151 GB, free: 9.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.408e-05/0.2883, allocations: 75.28 kB / 0.5152 GB, free: 9.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2883, allocations: 0 / 0.5152 GB, free: 9.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.2886, allocations: 50.58 kB / 0.5152 GB, free: 9.672 MB / 382.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.0005162/0.2891, allocations: 0.7181 MB / 0.5159 GB, free: 8.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.385e-05/0.2892, allocations: 58.19 kB / 0.516 GB, free: 8.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2892, allocations: 0 / 0.516 GB, free: 8.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.809e-05/0.2892, allocations: 55.22 kB / 0.516 GB, free: 8.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.2894, allocations: 6.625 kB / 0.516 GB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.2897, allocations: 145.6 kB / 0.5162 GB, free: 8.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.249e-05/0.2898, allocations: 0.6741 MB / 0.5168 GB, free: 8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.66e-06/0.2898, allocations: 1.156 kB / 0.5168 GB, free: 8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.07e-05/0.2898, allocations: 8.438 kB / 0.5168 GB, free: 7.992 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2898, allocations: 0 / 0.5168 GB, free: 7.992 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.3081, allocations: 2.342 MB / 0.5191 GB, free: 6.602 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.416/8.724, allocations: 19.3 kB / 0.5191 GB, free: 6.586 MB / 382.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] 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: 11.518899689021055]