Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001802/0.001802, allocations: 193.8 kB / 16.09 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 226.6 MB / 243.4 MB, free: 6.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 107.1 kB / 295.5 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3799/0.3799, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003001, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.333, allocations: 62.96 MB / 0.5159 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0005303/0.3336, allocations: 217.5 kB / 0.5161 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006135/0.3342, allocations: 349.7 kB / 0.5164 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.3343, allocations: 0 / 0.5164 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.001e-05/0.3343, allocations: 0 / 0.5164 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.364e-06/0.3343, allocations: 0 / 0.5164 GB, free: 36.87 MB / 378.7 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.0006148/0.3349, allocations: 160.6 kB / 0.5166 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.081e-05/0.335, allocations: 0 / 0.5166 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.335, allocations: 3.281 kB / 0.5166 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.705e-05/0.335, allocations: 10.81 kB / 0.5166 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.384e-05/0.3351, allocations: 0 / 0.5166 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.512e-06/0.3351, allocations: 0 / 0.5166 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.3353, allocations: 160 kB / 0.5167 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.775e-06/0.3353, allocations: 0 / 0.5167 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.3354, allocations: 29.69 kB / 0.5168 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.3355, allocations: 110.6 kB / 0.5169 GB, free: 36.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3355, allocations: 0 / 0.5169 GB, free: 36.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3355, allocations: 0 / 0.5169 GB, free: 36.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.3356, allocations: 0 / 0.5169 GB, free: 36.69 MB / 378.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.0002706/0.3358, allocations: 370.9 kB / 0.5172 GB, free: 36.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3359, allocations: 12.98 kB / 0.5172 GB, free: 36.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.3359, allocations: 0.9375 kB / 0.5172 GB, free: 36.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.415e-05/0.336, allocations: 160.4 kB / 0.5174 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.336, allocations: 384 / 0.5174 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.336, allocations: 2.938 kB / 0.5174 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.171e-05/0.3361, allocations: 30.27 kB / 0.5174 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3361, allocations: 10.62 kB / 0.5174 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3361, allocations: 3.938 kB / 0.5174 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3361, allocations: 4 kB / 0.5174 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.892e-05/0.3361, allocations: 7.266 kB / 0.5174 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.619e-05/0.3362, allocations: 144.2 kB / 0.5176 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.781e-05/0.3363, allocations: 21.08 kB / 0.5176 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.14e-05/0.3363, allocations: 4.859 kB / 0.5176 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.044e-06/0.3363, allocations: 0 / 0.5176 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.3363, allocations: 66.06 kB / 0.5177 GB, free: 35.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/0.3363, allocations: 4 kB / 0.5177 GB, free: 35.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000143/0.3365, allocations: 70.75 kB / 0.5177 GB, free: 35.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.3365, allocations: 77.11 kB / 0.5178 GB, free: 35.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.981e-05/0.3366, allocations: 93.14 kB / 0.5179 GB, free: 35.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.3366, allocations: 28.3 kB / 0.5179 GB, free: 35.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.171e-05/0.3366, allocations: 80.14 kB / 0.518 GB, free: 35.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.3366, allocations: 0 / 0.518 GB, free: 35.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.3366, allocations: 4 kB / 0.518 GB, free: 35.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.3367, allocations: 315 kB / 0.5183 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-06/0.3367, allocations: 2.562 kB / 0.5183 GB, free: 35.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-06/0.3367, allocations: 0 / 0.5183 GB, free: 35.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.982e-05/0.3368, allocations: 62.77 kB / 0.5184 GB, free: 34.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3368, allocations: 2.531 kB / 0.5184 GB, free: 34.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.907e-05/0.3368, allocations: 61.41 kB / 0.5184 GB, free: 34.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.3368, allocations: 34.83 kB / 0.5185 GB, free: 34.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3369, allocations: 0 / 0.5185 GB, free: 34.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3369, allocations: 8.031 kB / 0.5185 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.3369, allocations: 2.469 kB / 0.5185 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.3369, allocations: 0 / 0.5185 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.3369, allocations: 0 / 0.5185 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.3369, allocations: 0 / 0.5185 GB, free: 34.86 MB / 378.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 5.003e-05/0.337, allocations: 137.7 kB / 0.5186 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-06/0.337, allocations: 2.531 kB / 0.5186 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.216e-06/0.337, allocations: 10.66 kB / 0.5186 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.337, allocations: 0 / 0.5186 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.337, allocations: 4 kB / 0.5186 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.337, allocations: 0 / 0.5186 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.518e-05/0.3371, allocations: 147.6 kB / 0.5188 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3371, allocations: 0 / 0.5188 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3371, allocations: 0 / 0.5188 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3371, allocations: 0 / 0.5188 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3371, allocations: 10.38 kB / 0.5188 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.3371, allocations: 3.938 kB / 0.5188 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3371, allocations: 0 / 0.5188 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.475e-05/0.3372, allocations: 92.28 kB / 0.5189 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.3372, allocations: 80.52 kB / 0.5189 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.3372, allocations: 3.938 kB / 0.5189 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.001e-05/0.3372, allocations: 4 kB / 0.5189 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.3373, allocations: 0 / 0.5189 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3373, allocations: 6.938 kB / 0.519 GB, free: 34.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.202e-05/0.3373, allocations: 75.28 kB / 0.519 GB, free: 34.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3373, allocations: 0 / 0.519 GB, free: 34.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002609/0.3376, allocations: 48.84 kB / 0.5191 GB, free: 34.22 MB / 378.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.0003539/0.3379, allocations: 199.7 kB / 0.5193 GB, free: 34.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.388e-05/0.338, allocations: 58.31 kB / 0.5193 GB, free: 34.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.338, allocations: 0 / 0.5193 GB, free: 34.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/0.338, allocations: 57.31 kB / 0.5194 GB, free: 33.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.3382, allocations: 2.391 kB / 0.5194 GB, free: 33.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001391/0.3383, allocations: 109.8 kB / 0.5195 GB, free: 33.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.17e-05/0.3384, allocations: 0.6754 MB / 0.5201 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.645e-06/0.3384, allocations: 7.438 kB / 0.5201 GB, free: 33.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3384, allocations: 0 / 0.5201 GB, free: 33.14 MB / 378.7 MB Notification: Performance of Templates: time 0.002667/0.3411, allocations: 1.583 MB / 0.5217 GB, free: 33 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches