Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009599/0.0009599, allocations: 83.69 kB / 20.67 MB, free: 3.891 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.001172/0.001172, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.901/0.901, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2482/0.2482, allocations: 32.79 MB / 293.5 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 439.6 MB, free: 4.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.303e-05, allocations: 2.844 kB / 439.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001057/0.00108, allocations: 0.491 MB / 440 MB, free: 3.801 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006032/0.001684, allocations: 379 kB / 440.4 MB, free: 3.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.448e-05/0.001698, allocations: 0 / 440.4 MB, free: 3.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.001713, allocations: 3.938 kB / 440.4 MB, free: 3.426 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.021e-06/0.001719, allocations: 0 / 440.4 MB, free: 3.426 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:38:3-118:23:writable] Warning: Pure function 'ModelicaTest.Math.BooleanFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009258/0.002645, allocations: 211.1 kB / 440.6 MB, free: 3.223 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.879e-05/0.002694, allocations: 0 / 440.6 MB, free: 3.223 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.002728, allocations: 4 kB / 440.6 MB, free: 3.219 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.421e-05/0.002752, allocations: 0 / 440.6 MB, free: 3.219 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.84e-05/0.002771, allocations: 0 / 440.6 MB, free: 3.219 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.211e-06/0.002777, allocations: 0 / 440.6 MB, free: 3.219 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002738/0.003051, allocations: 223.5 kB / 440.9 MB, free: 3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-06/0.003058, allocations: 0 / 440.9 MB, free: 3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.687e-05/0.003075, allocations: 0 / 440.9 MB, free: 3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.003275, allocations: 187.5 kB / 441 MB, free: 2.816 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.003277, allocations: 0 / 441 MB, free: 2.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.003279, allocations: 0 / 441 MB, free: 2.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.003283, allocations: 0 / 441 MB, free: 2.816 MB / 410.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.0002588/0.003541, allocations: 288 kB / 441.3 MB, free: 2.496 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.003579, allocations: 8.031 kB / 441.3 MB, free: 2.488 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.457e-05/0.003603, allocations: 34.73 kB / 441.4 MB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.181e-05/0.003625, allocations: 4.938 kB / 441.4 MB, free: 2.441 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.839e-05/0.003674, allocations: 105.8 kB / 441.5 MB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-06/0.003683, allocations: 384 / 441.5 MB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-06/0.003689, allocations: 384 / 441.5 MB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.029e-05/0.003769, allocations: 63.91 kB / 441.5 MB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.003776, allocations: 4.125 kB / 441.5 MB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.003782, allocations: 384 / 441.5 MB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.003789, allocations: 8.109 kB / 441.5 MB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.133e-05/0.00381, allocations: 29.7 kB / 441.6 MB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.981e-05/0.0039, allocations: 120.7 kB / 441.7 MB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.089e-05/0.003941, allocations: 48.25 kB / 441.7 MB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.003958, allocations: 34.56 kB / 441.8 MB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-06/0.003964, allocations: 0 / 441.8 MB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.003996, allocations: 68.27 kB / 441.8 MB, free: 1.844 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.003997, allocations: 0 / 441.8 MB, free: 1.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001642/0.004161, allocations: 122.7 kB / 442 MB, free: 1.699 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.004197, allocations: 81.05 kB / 442 MB, free: 1.602 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.625e-05/0.004223, allocations: 93.86 kB / 442.1 MB, free: 1.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.004232, allocations: 25.7 kB / 442.2 MB, free: 1.469 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.657e-05/0.004248, allocations: 84.14 kB / 442.2 MB, free: 1.383 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.004262, allocations: 0 / 442.2 MB, free: 1.383 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.004286, allocations: 13.83 kB / 442.2 MB, free: 1.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.004356, allocations: 318.8 kB / 442.6 MB, free: 1.043 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.004372, allocations: 25.7 kB / 442.6 MB, free: 1.012 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.078e-05/0.004383, allocations: 25.7 kB / 442.6 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.769e-05/0.004421, allocations: 68.2 kB / 442.7 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.004422, allocations: 0 / 442.7 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.082e-05/0.004473, allocations: 89.09 kB / 442.8 MB, free: 0.793 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.004496, allocations: 33.7 kB / 442.8 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.004501, allocations: 4 kB / 442.8 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.004512, allocations: 96 / 442.8 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.004512, allocations: 4 kB / 442.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.004517, allocations: 3.938 kB / 442.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.104e-05/0.004528, allocations: 0 / 442.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.004534, allocations: 0 / 442.8 MB, free: 0.7422 MB / 410.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.822e-05/0.004592, allocations: 144.2 kB / 442.9 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-06/0.004596, allocations: 0 / 442.9 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.157e-06/0.004605, allocations: 3 kB / 443 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.004606, allocations: 0 / 443 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.004611, allocations: 7.938 kB / 443 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.004614, allocations: 0 / 443 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.217e-05/0.004666, allocations: 124.6 kB / 443.1 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.004666, allocations: 0 / 443.1 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.4e-07/0.004667, allocations: 0 / 443.1 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.004669, allocations: 3.984 kB / 443.1 MB, free: 412 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.004675, allocations: 4 kB / 443.1 MB, free: 408 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.004675, allocations: 0 / 443.1 MB, free: 408 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.004676, allocations: 3.938 kB / 443.1 MB, free: 404 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.564e-05/0.004742, allocations: 116.5 kB / 443.2 MB, free: 256 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-06/0.004745, allocations: 0 / 443.2 MB, free: 256 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.004753, allocations: 0 / 443.2 MB, free: 256 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.3e-06/0.004758, allocations: 8.031 kB / 443.2 MB, free: 248 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.00477, allocations: 7.875 kB / 443.2 MB, free: 240 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.004771, allocations: 0 / 443.2 MB, free: 240 kB / 410.7 MB Notification: Performance of sorting global known variables: time 1.848e-05/0.00479, allocations: 75.28 kB / 443.3 MB, free: 164 kB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00479, allocations: 0 / 443.3 MB, free: 164 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001968/0.004987, allocations: 51.92 kB / 443.3 MB, free: 112 kB / 410.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.1801/0.1851, allocations: 0.7438 MB / 444.1 MB, free: 45.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.1852, allocations: 113.7 kB / 444.2 MB, free: 45.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1852, allocations: 1.25 kB / 444.2 MB, free: 45.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-05/0.1852, allocations: 83.3 kB / 444.3 MB, free: 45.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001053/0.1853, allocations: 9.312 kB / 444.3 MB, free: 45.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.1856, allocations: 157.9 kB / 444.4 MB, free: 45.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.879e-05/0.1856, allocations: 57.55 kB / 444.5 MB, free: 45.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.002e-06/0.1856, allocations: 0 / 444.5 MB, free: 45.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.1857, allocations: 11.31 kB / 444.5 MB, free: 45.2 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1857, allocations: 0 / 444.5 MB, free: 45.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.2014, allocations: 3.131 MB / 447.6 MB, free: 44.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.802/7.004, allocations: 14.38 kB / 447.7 MB, free: 44.25 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 8.904984090477228]