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: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 103 kB / 17.32 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001328, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.4 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.2134/0.2134, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 83.86 kB / 417 MB, free: 7.477 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1328, allocations: 62.44 MB / 479.5 MB, free: 8.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.002268/0.1351, allocations: 0.5449 MB / 480 MB, free: 8.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009508/0.1361, allocations: 365.7 kB / 480.4 MB, free: 8.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.847e-05/0.1362, allocations: 7.938 kB / 480.4 MB, free: 8.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.1362, allocations: 0 / 480.4 MB, free: 8.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.63e-06/0.1362, allocations: 0 / 480.4 MB, free: 8.066 MB / 398.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.00122/0.1375, allocations: 187 kB / 480.6 MB, free: 7.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.42e-05/0.1376, allocations: 8 kB / 480.6 MB, free: 7.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.1376, allocations: 3.938 kB / 480.6 MB, free: 7.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.756e-05/0.1376, allocations: 0 / 480.6 MB, free: 7.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.032e-05/0.1377, allocations: 0 / 480.6 MB, free: 7.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.125e-06/0.1377, allocations: 4 kB / 480.6 MB, free: 7.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004394/0.1381, allocations: 171.7 kB / 480.8 MB, free: 7.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.1382, allocations: 4 kB / 480.8 MB, free: 7.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.1382, allocations: 0 / 480.8 MB, free: 7.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.1387, allocations: 159.6 kB / 480.9 MB, free: 7.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.1387, allocations: 0 / 480.9 MB, free: 7.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1387, allocations: 0 / 480.9 MB, free: 7.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.1387, allocations: 0 / 480.9 MB, free: 7.543 MB / 398.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.0005203/0.1392, allocations: 369.2 kB / 481.3 MB, free: 7.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.1393, allocations: 8.031 kB / 481.3 MB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.1393, allocations: 4.844 kB / 481.3 MB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.1396, allocations: 160.4 kB / 481.4 MB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.1396, allocations: 4.375 kB / 481.4 MB, free: 6.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1396, allocations: 4.375 kB / 481.4 MB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1398, allocations: 30.25 kB / 481.5 MB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1398, allocations: 192 / 481.5 MB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1398, allocations: 3.938 kB / 481.5 MB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1398, allocations: 0 / 481.5 MB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.353e-05/0.1399, allocations: 7.938 kB / 481.5 MB, free: 6.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.1401, allocations: 141.7 kB / 481.6 MB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.071e-05/0.1402, allocations: 26.61 kB / 481.7 MB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.1402, allocations: 4.859 kB / 481.7 MB, free: 6.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.1402, allocations: 0 / 481.7 MB, free: 6.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/0.1403, allocations: 60.25 kB / 481.7 MB, free: 6.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1403, allocations: 0 / 481.7 MB, free: 6.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002061/0.1405, allocations: 71.33 kB / 481.8 MB, free: 6.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.1406, allocations: 81.11 kB / 481.9 MB, free: 6.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.111e-05/0.1406, allocations: 97.98 kB / 482 MB, free: 6.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1407, allocations: 25.7 kB / 482 MB, free: 6.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.1407, allocations: 80.14 kB / 482.1 MB, free: 6.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.1407, allocations: 3.984 kB / 482.1 MB, free: 6.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.1408, allocations: 13.66 kB / 482.1 MB, free: 6.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1409, allocations: 314.8 kB / 482.4 MB, free: 5.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.141, allocations: 0 / 482.4 MB, free: 5.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-06/0.141, allocations: 0 / 482.4 MB, free: 5.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.045e-05/0.1411, allocations: 68.33 kB / 482.5 MB, free: 5.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1411, allocations: 3.938 kB / 482.5 MB, free: 5.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.988e-05/0.1412, allocations: 67.33 kB / 482.5 MB, free: 5.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/0.1412, allocations: 29.7 kB / 482.6 MB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1412, allocations: 0 / 482.6 MB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1413, allocations: 3.938 kB / 482.6 MB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.1413, allocations: 0 / 482.6 MB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1413, allocations: 4 kB / 482.6 MB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.1413, allocations: 0 / 482.6 MB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1413, allocations: 4.031 kB / 482.6 MB, free: 5.609 MB / 398.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.0001098/0.1414, allocations: 135.5 kB / 482.7 MB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.1415, allocations: 7.984 kB / 482.7 MB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.327e-05/0.1415, allocations: 7.062 kB / 482.7 MB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1415, allocations: 0 / 482.7 MB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1415, allocations: 0 / 482.7 MB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1415, allocations: 3.984 kB / 482.7 MB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.1416, allocations: 145.7 kB / 482.9 MB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1416, allocations: 0 / 482.9 MB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-06/0.1416, allocations: 8 kB / 482.9 MB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1417, allocations: 3.984 kB / 482.9 MB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1417, allocations: 3.938 kB / 482.9 MB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1417, allocations: 0 / 482.9 MB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1417, allocations: 0 / 482.9 MB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.1418, allocations: 90.78 kB / 483 MB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.1419, allocations: 81.09 kB / 483 MB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.1419, allocations: 3.938 kB / 483 MB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.136e-05/0.1419, allocations: 8.031 kB / 483.1 MB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.1419, allocations: 0 / 483.1 MB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.142, allocations: 0 / 483.1 MB, free: 5.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.676e-05/0.142, allocations: 75.28 kB / 483.1 MB, free: 4.941 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.142, allocations: 0 / 483.1 MB, free: 4.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004151/0.1424, allocations: 55.98 kB / 483.2 MB, free: 4.887 MB / 398.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.0004645/0.1429, allocations: 188.5 kB / 483.4 MB, free: 4.699 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.143, allocations: 67.39 kB / 483.4 MB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.143, allocations: 0 / 483.4 MB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/0.1431, allocations: 59.34 kB / 483.5 MB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.1432, allocations: 0 / 483.5 MB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.1435, allocations: 81.09 kB / 483.6 MB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.1439, allocations: 0.6729 MB / 484.2 MB, free: 3.746 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.007e-06/0.1439, allocations: 0 / 484.2 MB, free: 3.746 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.1439, allocations: 15.56 kB / 484.3 MB, free: 3.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1439, allocations: 0 / 484.3 MB, free: 3.73 MB / 398.1 MB Notification: Performance of Templates: time 0.00477/0.1487, allocations: 1.585 MB / 485.8 MB, free: 2.145 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches