Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009184/0.0009184, allocations: 93.73 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009532/0.0009532, allocations: 179.3 kB / 17.89 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.3 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1838/0.1838, allocations: 44.22 MB / 337.2 MB, free: 2.59 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.000483, allocations: 8.219 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09204/0.09254, allocations: 61.93 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0004613/0.09305, allocations: 210.9 kB / 471.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006452/0.0937, allocations: 356.9 kB / 472.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.187e-05/0.09373, allocations: 0 / 472.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.02e-05/0.09375, allocations: 0 / 472.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.709e-06/0.09376, allocations: 0 / 472.2 MB, free: 13.08 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.0005737/0.09434, allocations: 159.7 kB / 472.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.315e-05/0.09437, allocations: 8 kB / 472.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.575e-05/0.0944, allocations: 0 / 472.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.212e-05/0.09442, allocations: 3.984 kB / 472.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.696e-05/0.09444, allocations: 0 / 472.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.419e-06/0.09445, allocations: 0 / 472.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.0947, allocations: 167.7 kB / 472.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-06/0.09471, allocations: 0 / 472.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.09474, allocations: 25.7 kB / 472.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.09488, allocations: 99.81 kB / 472.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.09489, allocations: 0 / 472.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.0949, allocations: 0 / 472.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.09491, allocations: 4 kB / 472.7 MB, free: 12.61 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.0002753/0.09519, allocations: 369.1 kB / 473 MB, free: 12.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.09523, allocations: 8.031 kB / 473 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.333e-05/0.09526, allocations: 30.56 kB / 473.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.85e-05/0.09528, allocations: 4 kB / 473.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.891e-05/0.09536, allocations: 167 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.09538, allocations: 3.938 kB / 473.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.09539, allocations: 3.953 kB / 473.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.533e-05/0.09546, allocations: 29.7 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.11e-06/0.09547, allocations: 4 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-06/0.09548, allocations: 0 / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.09549, allocations: 0 / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.273e-05/0.09551, allocations: 0 / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.09563, allocations: 157.7 kB / 473.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.385e-05/0.09567, allocations: 18.52 kB / 473.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.191e-05/0.09569, allocations: 4.859 kB / 473.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.0957, allocations: 3.953 kB / 473.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.09575, allocations: 64.33 kB / 473.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.09576, allocations: 0 / 473.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001343/0.09589, allocations: 67.39 kB / 473.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.09594, allocations: 77.11 kB / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.733e-05/0.09598, allocations: 89.86 kB / 473.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.096, allocations: 25.7 kB / 473.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.079e-05/0.09602, allocations: 84.08 kB / 473.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.09604, allocations: 8.109 kB / 473.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-06/0.09605, allocations: 0 / 473.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.09617, allocations: 314.8 kB / 474.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-06/0.09618, allocations: 3.938 kB / 474.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.09619, allocations: 4 kB / 474.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.491e-05/0.09622, allocations: 29.7 kB / 474.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.09623, allocations: 0 / 474.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.846e-05/0.09629, allocations: 59.39 kB / 474.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.09633, allocations: 37.66 kB / 474.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.09634, allocations: 4.094 kB / 474.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.09635, allocations: 0 / 474.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.09635, allocations: 0 / 474.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.09636, allocations: 0 / 474.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.33e-05/0.09638, allocations: 0 / 474.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.09639, allocations: 0 / 474.3 MB, free: 10.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.405e-05/0.09647, allocations: 140.1 kB / 474.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-06/0.09648, allocations: 7.938 kB / 474.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.063e-05/0.0965, allocations: 11.03 kB / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.09651, allocations: 8 kB / 474.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.09652, allocations: 0 / 474.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.09652, allocations: 0 / 474.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.706e-05/0.09661, allocations: 145.7 kB / 474.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.09662, allocations: 0 / 474.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.09662, allocations: 0 / 474.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.09663, allocations: 3.938 kB / 474.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.09664, allocations: 4 kB / 474.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.09665, allocations: 3.953 kB / 474.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.09665, allocations: 0 / 474.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.848e-05/0.09675, allocations: 98.73 kB / 474.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.09678, allocations: 77.11 kB / 474.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.0968, allocations: 0 / 474.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-06/0.09681, allocations: 0 / 474.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.09682, allocations: 3.953 kB / 474.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-06/0.09683, allocations: 7.984 kB / 474.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.503e-05/0.09686, allocations: 75.28 kB / 474.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09687, allocations: 3.969 kB / 474.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.09713, allocations: 55.98 kB / 474.9 MB, free: 9.965 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 (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.000549/0.09769, allocations: 0.7103 MB / 475.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.797e-05/0.09777, allocations: 67.42 kB / 475.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.09778, allocations: 4 kB / 475.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.712e-05/0.09781, allocations: 55.34 kB / 475.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/0.09793, allocations: 12.67 kB / 475.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002533/0.09819, allocations: 120.4 kB / 475.9 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.09839, allocations: 0.6692 MB / 476.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.432e-06/0.09841, allocations: 0 / 476.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.708e-06/0.09842, allocations: 11.38 kB / 476.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.09843, allocations: 4.125 kB / 476.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01114/0.1096, allocations: 2.181 MB / 478.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.1098, allocations: 223 kB / 479 MB, free: 5.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.097, allocations: 0 / 479 MB, free: 5.879 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat does not exist to compare? outputFormat=mat