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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.2 MB / 241 MB, free: 11.92 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008598/0.0008598, allocations: 88.92 kB / 292.1 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4412/0.4412, allocations: 44.21 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003421, allocations: 8 kB / 460 MB, free: 1.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4003, allocations: 61.9 MB / 0.5096 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.5186, allocations: 86.24 MB / 0.5938 GB, free: 8.922 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.5188, allocations: 63.94 kB / 0.5939 GB, free: 8.863 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006617/0.5255, allocations: 2.435 MB / 0.5963 GB, free: 6.426 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5255, allocations: 0 / 0.5963 GB, free: 6.426 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.5255, allocations: 0 / 0.5963 GB, free: 6.426 MB / 410.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.000383/0.5259, allocations: 377 kB / 0.5966 GB, free: 6.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.526, allocations: 8.031 kB / 0.5967 GB, free: 5.996 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.526, allocations: 34.5 kB / 0.5967 GB, free: 5.953 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.526, allocations: 7.906 kB / 0.5967 GB, free: 5.945 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.497e-05/0.5261, allocations: 163.1 kB / 0.5968 GB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.5262, allocations: 0 / 0.5968 GB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.5262, allocations: 3.953 kB / 0.5969 GB, free: 5.742 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.588e-05/0.5263, allocations: 37.69 kB / 0.5969 GB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.5263, allocations: 0 / 0.5969 GB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.5263, allocations: 0 / 0.5969 GB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.5263, allocations: 0 / 0.5969 GB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.63e-05/0.5263, allocations: 0 / 0.5969 GB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.5265, allocations: 157.7 kB / 0.597 GB, free: 5.496 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.335e-05/0.5265, allocations: 18.52 kB / 0.5971 GB, free: 5.469 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.5265, allocations: 4 kB / 0.5971 GB, free: 5.465 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.147e-05/0.5266, allocations: 60.22 kB / 0.5971 GB, free: 5.391 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.5266, allocations: 4.094 kB / 0.5971 GB, free: 5.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001644/0.5268, allocations: 63.39 kB / 0.5972 GB, free: 5.312 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.5268, allocations: 81.11 kB / 0.5973 GB, free: 5.215 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.942e-05/0.5269, allocations: 88.94 kB / 0.5973 GB, free: 5.121 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.5269, allocations: 25.7 kB / 0.5974 GB, free: 5.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.527, allocations: 80.27 kB / 0.5974 GB, free: 5.008 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.527, allocations: 4 kB / 0.5974 GB, free: 5.004 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-06/0.527, allocations: 0 / 0.5974 GB, free: 5.004 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5271, allocations: 310.8 kB / 0.5977 GB, free: 4.691 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.5271, allocations: 4 kB / 0.5977 GB, free: 4.688 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-06/0.5271, allocations: 3.938 kB / 0.5978 GB, free: 4.684 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/0.5272, allocations: 29.7 kB / 0.5978 GB, free: 4.648 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5272, allocations: 3.938 kB / 0.5978 GB, free: 4.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.45e-05/0.5273, allocations: 63.39 kB / 0.5978 GB, free: 4.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.5273, allocations: 33.8 kB / 0.5979 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5273, allocations: 3.984 kB / 0.5979 GB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.5273, allocations: 7.953 kB / 0.5979 GB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.5273, allocations: 0 / 0.5979 GB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.5273, allocations: 0 / 0.5979 GB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.196e-05/0.5274, allocations: 0 / 0.5979 GB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.5274, allocations: 0 / 0.5979 GB, free: 4.52 MB / 410.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.0001022/0.5275, allocations: 145.2 kB / 0.598 GB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-06/0.5275, allocations: 0 / 0.598 GB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.575e-05/0.5275, allocations: 14.72 kB / 0.598 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.5275, allocations: 3.953 kB / 0.598 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5275, allocations: 0 / 0.598 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5275, allocations: 0 / 0.598 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.5276, allocations: 145.7 kB / 0.5982 GB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5277, allocations: 3.984 kB / 0.5982 GB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.5277, allocations: 0 / 0.5982 GB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.5277, allocations: 0 / 0.5982 GB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.5277, allocations: 0 / 0.5982 GB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.5277, allocations: 0 / 0.5982 GB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.5277, allocations: 7.953 kB / 0.5982 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.337e-05/0.5278, allocations: 90.83 kB / 0.5983 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.5278, allocations: 77.11 kB / 0.5984 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.5279, allocations: 4 kB / 0.5984 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-06/0.5279, allocations: 0 / 0.5984 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.5279, allocations: 0 / 0.5984 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.5279, allocations: 3.953 kB / 0.5984 GB, free: 3.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.971e-05/0.5279, allocations: 79.22 kB / 0.5984 GB, free: 3.852 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5279, allocations: 4.031 kB / 0.5984 GB, free: 3.848 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003089/0.5283, allocations: 67.91 kB / 0.5985 GB, free: 3.781 MB / 410.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.0007051/0.529, allocations: 0.7247 MB / 0.5992 GB, free: 3.031 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.073e-05/0.5291, allocations: 63.34 kB / 0.5993 GB, free: 2.957 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.5291, allocations: 0 / 0.5993 GB, free: 2.957 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/0.5291, allocations: 63.33 kB / 0.5993 GB, free: 2.883 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.218e-05/0.5292, allocations: 0 / 0.5993 GB, free: 2.883 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.5296, allocations: 132.3 kB / 0.5995 GB, free: 2.711 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.5298, allocations: 0.6794 MB / 0.6001 GB, free: 2.008 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.432e-06/0.5298, allocations: 0 / 0.6001 GB, free: 2.008 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.361e-05/0.5299, allocations: 11.56 kB / 0.6001 GB, free: 1.996 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5299, allocations: 0 / 0.6001 GB, free: 1.996 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.5431, allocations: 2.526 MB / 0.6026 GB, free: 15.57 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.5434, allocations: 220.9 kB / 0.6028 GB, free: 15.33 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.151, allocations: 0 / 0.6028 GB, free: 15.33 MB / 426.7 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