Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0007743/0.0007743, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008762/0.0008762, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9107/0.9107, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.251/0.251, allocations: 34.25 MB / 294.9 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 442.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.252e-05, allocations: 5.234 kB / 442.2 MB, free: 1.695 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001144/0.001167, allocations: 497 kB / 442.6 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006809/0.001848, allocations: 371 kB / 443 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.001865, allocations: 4 kB / 443 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.001882, allocations: 0 / 443 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.515e-06/0.00189, allocations: 0 / 443 MB, free: 0.8438 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.0007852/0.002675, allocations: 219 kB / 443.2 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.544e-05/0.002721, allocations: 0 / 443.2 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.002755, allocations: 7.984 kB / 443.2 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.329e-05/0.002778, allocations: 0 / 443.2 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.973e-05/0.002798, allocations: 3.938 kB / 443.2 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.432e-06/0.002805, allocations: 0 / 443.2 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.003071, allocations: 223.5 kB / 443.4 MB, free: 412 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.813e-06/0.003078, allocations: 4 kB / 443.5 MB, free: 408 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.777e-05/0.003096, allocations: 0 / 443.5 MB, free: 408 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.003288, allocations: 187.5 kB / 443.6 MB, free: 220 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.00329, allocations: 0 / 443.6 MB, free: 220 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.003291, allocations: 0 / 443.6 MB, free: 220 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.003295, allocations: 0 / 443.6 MB, free: 220 kB / 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.1847/0.188, allocations: 282.9 kB / 443.9 MB, free: 43.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.1881, allocations: 15.05 kB / 443.9 MB, free: 43.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.1881, allocations: 31.25 kB / 444 MB, free: 43.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.1881, allocations: 0.9375 kB / 444 MB, free: 43.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.502e-05/0.1882, allocations: 102.8 kB / 444.1 MB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1882, allocations: 5.25 kB / 444.1 MB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.1882, allocations: 384 / 444.1 MB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.1883, allocations: 56.53 kB / 444.1 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1883, allocations: 4.828 kB / 444.1 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1883, allocations: 384 / 444.1 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1883, allocations: 6.75 kB / 444.1 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.293e-05/0.1884, allocations: 30.11 kB / 444.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.307e-05/0.1884, allocations: 128.3 kB / 444.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.826e-05/0.1885, allocations: 43.22 kB / 444.3 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.1885, allocations: 36.83 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.1885, allocations: 0.9844 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.1886, allocations: 59.17 kB / 444.4 MB, free: 43.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.713e-06/0.1886, allocations: 0.7188 kB / 444.4 MB, free: 43.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001945/0.1888, allocations: 121.9 kB / 444.5 MB, free: 43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.1888, allocations: 85.73 kB / 444.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.659e-05/0.1888, allocations: 89.86 kB / 444.7 MB, free: 42.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.541e-06/0.1888, allocations: 25.7 kB / 444.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.646e-06/0.1888, allocations: 81.33 kB / 444.8 MB, free: 42.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.1888, allocations: 2.844 kB / 444.8 MB, free: 42.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.1889, allocations: 14.16 kB / 444.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.825e-05/0.1889, allocations: 318.7 kB / 445.1 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.1889, allocations: 27.7 kB / 445.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.272e-05/0.1889, allocations: 30.95 kB / 445.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.584e-05/0.189, allocations: 62.48 kB / 445.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.189, allocations: 0 / 445.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.067e-05/0.189, allocations: 92.66 kB / 445.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.1891, allocations: 31.39 kB / 445.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1891, allocations: 3.812 kB / 445.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1891, allocations: 0 / 445.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.392e-06/0.1891, allocations: 0 / 445.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1891, allocations: 3.938 kB / 445.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.1891, allocations: 0.9375 kB / 445.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1891, allocations: 6.141 kB / 445.4 MB, free: 42.11 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.57e-05/0.1892, allocations: 136.6 kB / 445.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-06/0.1892, allocations: 0 / 445.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.488e-05/0.1892, allocations: 4.75 kB / 445.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1892, allocations: 3.656 kB / 445.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1892, allocations: 7.781 kB / 445.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1892, allocations: 2.656 kB / 445.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.274e-05/0.1893, allocations: 116.6 kB / 445.7 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1893, allocations: 2.594 kB / 445.7 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1893, allocations: 0 / 445.7 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.1893, allocations: 0 / 445.7 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1893, allocations: 4.188 kB / 445.7 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1893, allocations: 0 / 445.7 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1893, allocations: 6.688 kB / 445.7 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.475e-05/0.1893, allocations: 114.3 kB / 445.8 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-06/0.1893, allocations: 10.5 kB / 445.8 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.1894, allocations: 5.781 kB / 445.8 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-06/0.1894, allocations: 1.438 kB / 445.8 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.1894, allocations: 3.938 kB / 445.8 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.1894, allocations: 3 kB / 445.8 MB, free: 41.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.159e-05/0.1894, allocations: 78.06 kB / 445.9 MB, free: 41.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1894, allocations: 3.281 kB / 445.9 MB, free: 41.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.1897, allocations: 52.44 kB / 445.9 MB, free: 41.59 MB / 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.0004512/0.1901, allocations: 0.7384 MB / 446.7 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.206e-05/0.1902, allocations: 116.2 kB / 446.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1902, allocations: 0 / 446.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.551e-05/0.1902, allocations: 85.12 kB / 446.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.654e-05/0.1903, allocations: 7.938 kB / 446.9 MB, free: 40.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002488/0.1906, allocations: 154.9 kB / 447 MB, free: 40.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.728e-05/0.1906, allocations: 57.61 kB / 447.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.799e-06/0.1906, allocations: 0 / 447.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.695e-05/0.1906, allocations: 15.25 kB / 447.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1906, allocations: 0 / 447.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.2089, allocations: 3.133 MB / 450.2 MB, free: 39.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/6.817, allocations: 7.25 kB / 450.3 MB, free: 39.49 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.75943739619106]