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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001021/0.001021, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.2 MB / 245 MB, free: 7.645 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009472/0.0009468, allocations: 98.25 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4028/0.4028, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002922, allocations: 4 kB / 468.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4037, allocations: 63.24 MB / 0.5192 GB, free: 43.89 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.5245, allocations: 87.28 MB / 0.6044 GB, free: 2.375 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.5249, allocations: 64.62 kB / 0.6045 GB, free: 2.312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007066/0.532, allocations: 2.446 MB / 0.6069 GB, free: 15.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.532, allocations: 4 kB / 0.6069 GB, free: 15.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.532, allocations: 2.438 kB / 0.6069 GB, free: 15.87 MB / 426.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.0003719/0.5324, allocations: 369 kB / 0.6072 GB, free: 15.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.5325, allocations: 15.97 kB / 0.6072 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.5325, allocations: 0 / 0.6072 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.5326, allocations: 163 kB / 0.6074 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.5326, allocations: 0.8125 kB / 0.6074 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.5327, allocations: 7.984 kB / 0.6074 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.5328, allocations: 38.28 kB / 0.6074 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.5328, allocations: 1.594 kB / 0.6074 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.5328, allocations: 0 / 0.6074 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5328, allocations: 0 / 0.6074 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.5328, allocations: 0 / 0.6074 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.533, allocations: 150.4 kB / 0.6076 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.338e-05/0.533, allocations: 19.55 kB / 0.6076 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.533, allocations: 1 kB / 0.6076 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/0.5331, allocations: 64.36 kB / 0.6077 GB, free: 14.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.5331, allocations: 1.594 kB / 0.6077 GB, free: 14.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.000178/0.5333, allocations: 59.39 kB / 0.6077 GB, free: 14.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.5334, allocations: 85.05 kB / 0.6078 GB, free: 14.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.832e-05/0.5334, allocations: 85.62 kB / 0.6079 GB, free: 14.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.5334, allocations: 26.27 kB / 0.6079 GB, free: 14.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.5335, allocations: 80.95 kB / 0.608 GB, free: 14.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.5335, allocations: 0 / 0.608 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.5335, allocations: 0.75 kB / 0.608 GB, free: 14.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.5337, allocations: 321 kB / 0.6083 GB, free: 14.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-06/0.5337, allocations: 4 kB / 0.6083 GB, free: 14.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-06/0.5337, allocations: 3.984 kB / 0.6083 GB, free: 14.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.754e-05/0.5337, allocations: 25.7 kB / 0.6083 GB, free: 14.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5337, allocations: 0 / 0.6083 GB, free: 14.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.215e-05/0.5338, allocations: 63.92 kB / 0.6084 GB, free: 14.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.5338, allocations: 30.27 kB / 0.6084 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5339, allocations: 5.594 kB / 0.6084 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.5339, allocations: 0 / 0.6084 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.056e-06/0.5339, allocations: 3.984 kB / 0.6084 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.5339, allocations: 3.938 kB / 0.6084 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.361e-05/0.5339, allocations: 3.594 kB / 0.6084 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.5339, allocations: 0 / 0.6084 GB, free: 14.03 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.534, allocations: 140.4 kB / 0.6086 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.5341, allocations: 3.953 kB / 0.6086 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.616e-05/0.5341, allocations: 6.719 kB / 0.6086 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.5341, allocations: 0 / 0.6086 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5341, allocations: 0 / 0.6086 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5341, allocations: 4 kB / 0.6086 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.5342, allocations: 145.7 kB / 0.6087 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5342, allocations: 8.156 kB / 0.6087 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.5342, allocations: 0 / 0.6087 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.5343, allocations: 3.953 kB / 0.6087 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.5343, allocations: 0 / 0.6087 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.5343, allocations: 4 kB / 0.6087 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5343, allocations: 0 / 0.6087 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.64e-05/0.5344, allocations: 86.83 kB / 0.6088 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.5344, allocations: 77.11 kB / 0.6089 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.5345, allocations: 11.98 kB / 0.6089 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-06/0.5345, allocations: 0 / 0.6089 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.5345, allocations: 3.938 kB / 0.6089 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.5345, allocations: 0 / 0.6089 GB, free: 13.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.031e-05/0.5345, allocations: 75.28 kB / 0.609 GB, free: 13.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5345, allocations: 0 / 0.609 GB, free: 13.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002914/0.5348, allocations: 63.92 kB / 0.609 GB, free: 13.31 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004803/0.5353, allocations: 218.5 kB / 0.6092 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.5354, allocations: 59.41 kB / 0.6093 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5355, allocations: 0 / 0.6093 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.282e-05/0.5355, allocations: 55.41 kB / 0.6093 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.252e-05/0.5356, allocations: 0 / 0.6093 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/0.5358, allocations: 77.25 kB / 0.6094 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.5361, allocations: 0.6694 MB / 0.6101 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.686e-06/0.5361, allocations: 4 kB / 0.6101 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/0.5362, allocations: 15.38 kB / 0.6101 GB, free: 12.14 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5362, allocations: 3.938 kB / 0.6101 GB, free: 12.14 MB / 426.7 MB Notification: Performance of Templates: time 0.004922/0.5411, allocations: 1.851 MB / 0.6119 GB, free: 10.29 MB / 426.7 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","../files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches