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.001146/0.001146, allocations: 100.4 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001627/0.001627, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246 MB, free: 11.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2097/0.2097, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002531/0.0002533, allocations: 8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1138, allocations: 63.47 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0004695/0.1143, allocations: 218.9 kB / 481.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006788/0.115, allocations: 337.9 kB / 482.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.057e-05/0.115, allocations: 0 / 482.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.285e-06/0.115, allocations: 0 / 482.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.115, allocations: 0 / 482.2 MB, free: 4.738 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.0005909/0.1156, allocations: 167.7 kB / 482.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.686e-05/0.1157, allocations: 7.984 kB / 482.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.547e-05/0.1157, allocations: 0 / 482.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.081e-05/0.1157, allocations: 0 / 482.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.693e-05/0.1157, allocations: 0 / 482.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-06/0.1157, allocations: 4 kB / 482.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.116, allocations: 167.6 kB / 482.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-06/0.116, allocations: 3.984 kB / 482.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.116, allocations: 25.7 kB / 482.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1162, allocations: 99.81 kB / 482.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1162, allocations: 4 kB / 482.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1162, allocations: 0 / 482.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.1162, allocations: 4 kB / 482.6 MB, free: 4.258 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.0002808/0.1165, allocations: 365.1 kB / 483 MB, free: 3.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.1165, allocations: 8.031 kB / 483 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.562e-05/0.1166, allocations: 34.56 kB / 483 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.751e-05/0.1166, allocations: 0 / 483 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.027e-05/0.1167, allocations: 163 kB / 483.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.1167, allocations: 0 / 483.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-06/0.1167, allocations: 0 / 483.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.412e-05/0.1168, allocations: 37.62 kB / 483.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-06/0.1168, allocations: 4 kB / 483.2 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.1168, allocations: 3.984 kB / 483.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1168, allocations: 0 / 483.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.342e-05/0.1168, allocations: 0 / 483.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.1169, allocations: 153.6 kB / 483.4 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.878e-05/0.117, allocations: 14.58 kB / 483.4 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.919e-06/0.117, allocations: 4.859 kB / 483.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-06/0.117, allocations: 12.03 kB / 483.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.117, allocations: 60.25 kB / 483.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.117, allocations: 0 / 483.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001324/0.1172, allocations: 63.41 kB / 483.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1172, allocations: 77.11 kB / 483.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.292e-05/0.1173, allocations: 89.86 kB / 483.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.1173, allocations: 25.7 kB / 483.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.362e-05/0.1173, allocations: 80.14 kB / 483.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.1173, allocations: 8.125 kB / 483.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-06/0.1173, allocations: 0 / 483.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.1174, allocations: 318.8 kB / 484.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-06/0.1174, allocations: 4 kB / 484.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-06/0.1175, allocations: 3.938 kB / 484.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.316e-05/0.1175, allocations: 29.7 kB / 484.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1175, allocations: 0 / 484.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.198e-05/0.1176, allocations: 55.41 kB / 484.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.1176, allocations: 41.78 kB / 484.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1176, allocations: 0 / 484.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.1176, allocations: 3.938 kB / 484.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1176, allocations: 0 / 484.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1176, allocations: 11.92 kB / 484.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.306e-05/0.1177, allocations: 0 / 484.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.1177, allocations: 4 kB / 484.3 MB, free: 2.348 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.251e-05/0.1177, allocations: 139.5 kB / 484.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-06/0.1178, allocations: 0 / 484.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.746e-06/0.1178, allocations: 11.12 kB / 484.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.1178, allocations: 0 / 484.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1178, allocations: 3.984 kB / 484.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.1178, allocations: 0 / 484.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.455e-05/0.1179, allocations: 145.6 kB / 484.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1179, allocations: 0 / 484.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-06/0.1179, allocations: 0 / 484.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1179, allocations: 7.938 kB / 484.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.1179, allocations: 0 / 484.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1179, allocations: 0 / 484.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1179, allocations: 0 / 484.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.733e-05/0.118, allocations: 98.73 kB / 484.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.118, allocations: 81.06 kB / 484.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.868e-06/0.118, allocations: 0 / 484.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-06/0.1181, allocations: 3.984 kB / 484.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.159e-05/0.1181, allocations: 4 kB / 484.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.1181, allocations: 0 / 484.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.923e-05/0.1181, allocations: 75.28 kB / 484.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1181, allocations: 4.031 kB / 484.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.1184, allocations: 48 kB / 484.9 MB, free: 1.633 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.0005624/0.1189, allocations: 0.7261 MB / 485.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.774e-05/0.119, allocations: 63.44 kB / 485.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.119, allocations: 0 / 485.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.865e-05/0.1191, allocations: 55.41 kB / 485.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.1192, allocations: 4 kB / 485.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.1194, allocations: 124.4 kB / 485.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1197, allocations: 0.677 MB / 486.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.681e-06/0.1197, allocations: 3.984 kB / 486.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.628e-06/0.1197, allocations: 7.562 kB / 486.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1197, allocations: 4 kB / 486.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01156/0.1313, allocations: 2.184 MB / 488.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.1315, allocations: 216.8 kB / 489 MB, free: 13.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/1.943, allocations: 0 / 489 MB, free: 13.54 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat does not exist to compare? outputFormat=mat