Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001646/0.001646, allocations: 120.4 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001734/0.001734, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2376/0.2376, allocations: 46.9 MB / 357.4 MB, free: 10.47 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 75.88 kB / 0.4912 GB, free: 8.344 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1244, allocations: 65.99 MB / 0.5557 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001626/0.1261, allocations: 0.4904 MB / 0.5562 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009384/0.127, allocations: 379.5 kB / 0.5565 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.127, allocations: 0 / 0.5565 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.127, allocations: 0 / 0.5565 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.502e-06/0.127, allocations: 0 / 0.5565 GB, free: 5.359 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0008053/0.1278, allocations: 191.5 kB / 0.5567 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.42e-05/0.1279, allocations: 0 / 0.5567 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.145e-05/0.1279, allocations: 4 kB / 0.5567 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.347e-05/0.1279, allocations: 4 kB / 0.5567 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.914e-05/0.128, allocations: 3.984 kB / 0.5567 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.18e-06/0.128, allocations: 0 / 0.5567 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.1283, allocations: 203.6 kB / 0.5569 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.636e-06/0.1283, allocations: 7.984 kB / 0.5569 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.1284, allocations: 0 / 0.5569 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.1286, allocations: 155.6 kB / 0.5571 GB, free: 4.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1286, allocations: 0 / 0.5571 GB, free: 4.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1286, allocations: 0 / 0.5571 GB, free: 4.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1286, allocations: 0 / 0.5571 GB, free: 4.801 MB / 414.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.0004075/0.129, allocations: 365 kB / 0.5574 GB, free: 4.387 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1291, allocations: 8.031 kB / 0.5574 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.1291, allocations: 34.75 kB / 0.5575 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.997e-05/0.1291, allocations: 0.9375 kB / 0.5575 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.1292, allocations: 164.4 kB / 0.5576 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1292, allocations: 384 / 0.5576 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.1292, allocations: 8.359 kB / 0.5576 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.668e-05/0.1293, allocations: 26.27 kB / 0.5576 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1293, allocations: 7.875 kB / 0.5576 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-06/0.1293, allocations: 0 / 0.5576 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1293, allocations: 4 kB / 0.5577 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.397e-05/0.1294, allocations: 0 / 0.5577 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.1295, allocations: 145.7 kB / 0.5578 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.273e-05/0.1296, allocations: 32.28 kB / 0.5578 GB, free: 3.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.1296, allocations: 4.859 kB / 0.5578 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.1296, allocations: 7.922 kB / 0.5578 GB, free: 3.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.1296, allocations: 56.27 kB / 0.5579 GB, free: 3.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.1296, allocations: 0 / 0.5579 GB, free: 3.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001774/0.1298, allocations: 71.3 kB / 0.558 GB, free: 3.688 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.1299, allocations: 89.22 kB / 0.558 GB, free: 3.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.605e-05/0.1299, allocations: 93.86 kB / 0.5581 GB, free: 3.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1299, allocations: 29.64 kB / 0.5582 GB, free: 3.445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.13, allocations: 80.14 kB / 0.5582 GB, free: 3.363 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.13, allocations: 0 / 0.5582 GB, free: 3.363 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.13, allocations: 13.72 kB / 0.5582 GB, free: 3.344 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1302, allocations: 310.8 kB / 0.5585 GB, free: 3.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-06/0.1302, allocations: 0 / 0.5585 GB, free: 3.031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-06/0.1302, allocations: 8 kB / 0.5586 GB, free: 3.023 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.216e-05/0.1302, allocations: 68.2 kB / 0.5586 GB, free: 2.941 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1302, allocations: 0 / 0.5586 GB, free: 2.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.173e-05/0.1303, allocations: 63.39 kB / 0.5587 GB, free: 2.867 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.1304, allocations: 29.7 kB / 0.5587 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1304, allocations: 3.938 kB / 0.5587 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1304, allocations: 0 / 0.5587 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.1304, allocations: 4 kB / 0.5587 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.1304, allocations: 0 / 0.5587 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.386e-05/0.1304, allocations: 4.094 kB / 0.5587 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1304, allocations: 0 / 0.5587 GB, free: 2.82 MB / 414.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 0.0001001/0.1305, allocations: 139.5 kB / 0.5589 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-06/0.1305, allocations: 0 / 0.5589 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.242e-05/0.1305, allocations: 11.06 kB / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1305, allocations: 0 / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1305, allocations: 0 / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.1305, allocations: 0 / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.1306, allocations: 149.7 kB / 0.559 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1306, allocations: 4 kB / 0.559 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.1306, allocations: 0 / 0.559 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.1306, allocations: 0 / 0.559 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1307, allocations: 7.875 kB / 0.559 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.1307, allocations: 0 / 0.559 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1307, allocations: 0 / 0.559 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.1308, allocations: 94.77 kB / 0.5591 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.1308, allocations: 77.11 kB / 0.5592 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1308, allocations: 11.97 kB / 0.5592 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-06/0.1308, allocations: 0 / 0.5592 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.1309, allocations: 0 / 0.5592 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.1309, allocations: 0 / 0.5592 GB, free: 2.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.528e-05/0.1309, allocations: 75.28 kB / 0.5593 GB, free: 2.156 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1309, allocations: 0 / 0.5593 GB, free: 2.156 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1312, allocations: 55.86 kB / 0.5593 GB, free: 2.102 MB / 414.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.0007955/0.132, allocations: 0.7221 MB / 0.56 GB, free: 1.348 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.1321, allocations: 67.39 kB / 0.5601 GB, free: 1.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1321, allocations: 0 / 0.5601 GB, free: 1.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.496e-05/0.1321, allocations: 51.41 kB / 0.5601 GB, free: 1.207 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.1322, allocations: 12.94 kB / 0.5601 GB, free: 1.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.1326, allocations: 130.6 kB / 0.5603 GB, free: 1.027 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.1329, allocations: 0.6728 MB / 0.5609 GB, free: 336 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.092e-06/0.133, allocations: 3.938 kB / 0.5609 GB, free: 332 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.133, allocations: 11.44 kB / 0.5609 GB, free: 320 kB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.133, allocations: 0 / 0.5609 GB, free: 320 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.1558, allocations: 2.418 MB / 0.5633 GB, free: 13.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.183, allocations: 3.938 kB / 0.5633 GB, free: 13.96 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.09333830093965]