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.0009149/0.0009149, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008904/0.0008904, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8668/0.8668, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1321/0.1321, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 3.938 kB / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.867e-05, allocations: 10.08 kB / 406.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001195/0.001213, allocations: 0.491 MB / 407.3 MB, free: 1.754 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005374/0.001751, allocations: 341.5 kB / 407.7 MB, free: 1.418 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.345e-05/0.001764, allocations: 0 / 407.7 MB, free: 1.418 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.001779, allocations: 7.938 kB / 407.7 MB, free: 1.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.441e-06/0.001784, allocations: 0 / 407.7 MB, free: 1.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006312/0.002416, allocations: 207.3 kB / 407.9 MB, free: 1.207 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.711e-05/0.002463, allocations: 7.984 kB / 407.9 MB, free: 1.199 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.265e-05/0.002495, allocations: 4 kB / 407.9 MB, free: 1.195 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.354e-05/0.002519, allocations: 0 / 407.9 MB, free: 1.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.914e-05/0.002538, allocations: 4 kB / 407.9 MB, free: 1.191 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.632e-06/0.002545, allocations: 0 / 407.9 MB, free: 1.191 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.00278, allocations: 199.6 kB / 408.1 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-06/0.002787, allocations: 0 / 408.1 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.002807, allocations: 7.984 kB / 408.1 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.002996, allocations: 179.6 kB / 408.3 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.002998, allocations: 0 / 408.3 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.002999, allocations: 0 / 408.3 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.003003, allocations: 3.938 kB / 408.3 MB, free: 0.8086 MB / 378.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.0002636/0.003267, allocations: 291.9 kB / 408.5 MB, free: 496 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.003304, allocations: 12.03 kB / 408.6 MB, free: 484 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.331e-05/0.003327, allocations: 30.75 kB / 408.6 MB, free: 444 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.226e-05/0.003349, allocations: 0.9375 kB / 408.6 MB, free: 444 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.056e-05/0.0034, allocations: 101.8 kB / 408.7 MB, free: 316 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.00341, allocations: 4.312 kB / 408.7 MB, free: 312 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.003417, allocations: 8.375 kB / 408.7 MB, free: 304 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.743e-05/0.003495, allocations: 59.95 kB / 408.8 MB, free: 232 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.003501, allocations: 192 / 408.8 MB, free: 232 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.003507, allocations: 4.359 kB / 408.8 MB, free: 228 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.003513, allocations: 8.125 kB / 408.8 MB, free: 220 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.149e-05/0.003535, allocations: 25.7 kB / 408.8 MB, free: 188 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.83e-05/0.003623, allocations: 116.7 kB / 408.9 MB, free: 28 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.031e-05/0.003674, allocations: 48.25 kB / 409 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.003691, allocations: 30.56 kB / 409 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.003699, allocations: 12.05 kB / 409 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.00373, allocations: 60.27 kB / 409.1 MB, free: 15.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.003731, allocations: 3.938 kB / 409.1 MB, free: 15.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001472/0.003878, allocations: 114.8 kB / 409.2 MB, free: 15.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.003914, allocations: 85.03 kB / 409.3 MB, free: 15.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.567e-05/0.00394, allocations: 93.86 kB / 409.3 MB, free: 15.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.00395, allocations: 29.7 kB / 409.4 MB, free: 15.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.754e-05/0.003967, allocations: 80.14 kB / 409.5 MB, free: 15.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.00398, allocations: 0 / 409.5 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.004002, allocations: 13.72 kB / 409.5 MB, free: 15.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.276e-05/0.004074, allocations: 310.8 kB / 409.8 MB, free: 15.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.004092, allocations: 29.83 kB / 409.8 MB, free: 15.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.153e-05/0.004103, allocations: 29.7 kB / 409.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.004139, allocations: 68.25 kB / 409.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.004141, allocations: 0 / 409.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.195e-05/0.004192, allocations: 89.05 kB / 410 MB, free: 14.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.004217, allocations: 33.7 kB / 410 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.00422, allocations: 0 / 410 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.00423, allocations: 0 / 410 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.004231, allocations: 0 / 410 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.004237, allocations: 8.016 kB / 410 MB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-06/0.004247, allocations: 4 kB / 410 MB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.004252, allocations: 0 / 410 MB, free: 14.74 MB / 394.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 5.468e-05/0.004307, allocations: 139.5 kB / 410.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-06/0.004311, allocations: 0 / 410.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.774e-06/0.004318, allocations: 3 kB / 410.2 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.00432, allocations: 4 kB / 410.2 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.004324, allocations: 3.938 kB / 410.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.004327, allocations: 0 / 410.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.264e-05/0.00438, allocations: 116.8 kB / 410.3 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.00438, allocations: 0 / 410.3 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-06/0.004382, allocations: 8 kB / 410.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.004382, allocations: 3.938 kB / 410.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.004388, allocations: 0 / 410.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.004388, allocations: 0 / 410.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.00439, allocations: 3.938 kB / 410.3 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.794e-05/0.004458, allocations: 124.5 kB / 410.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-06/0.004461, allocations: 0 / 410.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.004471, allocations: 7.938 kB / 410.4 MB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.799e-06/0.004476, allocations: 0 / 410.4 MB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.025e-05/0.004486, allocations: 3.938 kB / 410.4 MB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.004487, allocations: 4.031 kB / 410.4 MB, free: 14.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.831e-05/0.004506, allocations: 75.28 kB / 410.5 MB, free: 14.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004506, allocations: 0 / 410.5 MB, free: 14.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.004698, allocations: 55.86 kB / 410.6 MB, free: 14.11 MB / 394.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.0004523/0.005151, allocations: 0.7326 MB / 411.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.668e-05/0.005237, allocations: 118.7 kB / 411.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.005239, allocations: 0 / 411.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.454e-05/0.005263, allocations: 85.2 kB / 411.5 MB, free: 13.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.344e-05/0.005357, allocations: 7.938 kB / 411.5 MB, free: 13.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.005591, allocations: 152.1 kB / 411.7 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.989e-05/0.00562, allocations: 51.36 kB / 411.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.438e-06/0.005625, allocations: 4 kB / 411.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.005639, allocations: 8.5 kB / 411.7 MB, free: 12.81 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.005639, allocations: 0 / 411.7 MB, free: 12.81 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.02125, allocations: 3.014 MB / 414.7 MB, free: 9.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.041/7.062, allocations: 15.31 kB / 414.7 MB, free: 9.758 MB / 394.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.csv: Error: Error opening file: ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: [Calling sys.exit(0), Time elapsed: 9.058823357336223]