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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 103.3 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001114, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2222/0.2222, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 80.12 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.134, allocations: 62.45 MB / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001906/0.1359, allocations: 0.5489 MB / 479.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.137, allocations: 381.6 kB / 480.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.485e-05/0.137, allocations: 0 / 480.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.137, allocations: 0 / 480.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.334e-06/0.1371, allocations: 0 / 480.3 MB, free: 4.723 MB / 350.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.0008889/0.138, allocations: 163.6 kB / 480.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.426e-05/0.138, allocations: 4 kB / 480.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.1381, allocations: 0 / 480.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.422e-05/0.1381, allocations: 3.938 kB / 480.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.1381, allocations: 7.984 kB / 480.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.62e-06/0.1381, allocations: 4 kB / 480.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.1385, allocations: 159.7 kB / 480.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-06/0.1385, allocations: 0 / 480.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.1385, allocations: 0 / 480.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.1388, allocations: 159.7 kB / 480.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1388, allocations: 0 / 480.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1388, allocations: 0 / 480.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1388, allocations: 0 / 480.8 MB, free: 4.234 MB / 350.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.0003641/0.1392, allocations: 369.2 kB / 481.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1392, allocations: 8.875 kB / 481.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.1393, allocations: 34.75 kB / 481.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.1393, allocations: 0.9375 kB / 481.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.138e-05/0.1394, allocations: 164.3 kB / 481.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.1394, allocations: 384 / 481.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.1394, allocations: 4.375 kB / 481.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.943e-05/0.1395, allocations: 30.25 kB / 481.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1395, allocations: 3.938 kB / 481.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1396, allocations: 0 / 481.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1396, allocations: 4 kB / 481.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.1396, allocations: 0 / 481.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.1397, allocations: 149.7 kB / 481.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.154e-05/0.1398, allocations: 22.55 kB / 481.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.1398, allocations: 4.859 kB / 481.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.1398, allocations: 3.938 kB / 481.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.1399, allocations: 60.25 kB / 481.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/0.1399, allocations: 4.062 kB / 481.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.000188/0.1401, allocations: 67.34 kB / 481.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.1402, allocations: 81.11 kB / 481.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.719e-05/0.1402, allocations: 89.86 kB / 481.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.1402, allocations: 29.64 kB / 481.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.1403, allocations: 80.14 kB / 482 MB, free: 2.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.1403, allocations: 3.984 kB / 482 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.1403, allocations: 13.72 kB / 482 MB, free: 2.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1405, allocations: 311 kB / 482.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.1405, allocations: 4 kB / 482.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-06/0.1405, allocations: 4 kB / 482.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.545e-05/0.1406, allocations: 64.27 kB / 482.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1406, allocations: 3.938 kB / 482.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.495e-05/0.1406, allocations: 63.39 kB / 482.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.1407, allocations: 29.7 kB / 482.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1407, allocations: 3.938 kB / 482.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1407, allocations: 4 kB / 482.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.455e-06/0.1407, allocations: 8.031 kB / 482.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.1407, allocations: 0 / 482.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.307e-05/0.1407, allocations: 0 / 482.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.1408, allocations: 0 / 482.5 MB, free: 2.262 MB / 350.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 8.481e-05/0.1408, allocations: 139.5 kB / 482.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.1409, allocations: 3.984 kB / 482.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.188e-05/0.1409, allocations: 7.062 kB / 482.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1409, allocations: 0 / 482.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1409, allocations: 0 / 482.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.1409, allocations: 4 kB / 482.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.141, allocations: 145.7 kB / 482.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.141, allocations: 0 / 482.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.141, allocations: 0 / 482.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.141, allocations: 3.984 kB / 482.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.141, allocations: 3.938 kB / 482.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1411, allocations: 0 / 482.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.1411, allocations: 7.984 kB / 482.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.1412, allocations: 86.84 kB / 482.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.1412, allocations: 85 kB / 483 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.1412, allocations: 11.88 kB / 483 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.113e-05/0.1413, allocations: 4 kB / 483 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.1413, allocations: 0 / 483 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-06/0.1413, allocations: 0 / 483 MB, free: 1.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.121e-05/0.1413, allocations: 79.22 kB / 483.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1413, allocations: 0 / 483.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.1416, allocations: 55.98 kB / 483.1 MB, free: 1.531 MB / 350.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.0006945/0.1423, allocations: 0.7103 MB / 483.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.057e-05/0.1424, allocations: 63.34 kB / 483.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1424, allocations: 4.094 kB / 483.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.777e-05/0.1425, allocations: 59.39 kB / 483.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.1426, allocations: 3.5 kB / 483.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.143, allocations: 128.4 kB / 484.1 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.1432, allocations: 0.6731 MB / 484.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.838e-06/0.1433, allocations: 3.984 kB / 484.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.1433, allocations: 11.44 kB / 484.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1433, allocations: 0 / 484.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01223/0.1555, allocations: 2.34 MB / 487.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.1557, allocations: 233.4 kB / 487.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/1.93, allocations: 0 / 487.3 MB, free: 13.23 MB / 366.1 MB (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches