Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_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.001351/0.001351, allocations: 97.22 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 174 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.4 MB / 222.7 MB, free: 5.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.387/0.387, allocations: 43.55 MB / 314.5 MB, free: 8.773 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005439/0.000544, allocations: 14.97 kB / 384 MB, free: 7.949 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1225, allocations: 58.86 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0005584/0.1231, allocations: 224.4 kB / 443.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007005/0.1238, allocations: 324.5 kB / 443.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.406e-05/0.1239, allocations: 0 / 443.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.658e-06/0.1239, allocations: 0 / 443.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.66e-06/0.1239, allocations: 4 kB / 443.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005969/0.1245, allocations: 139.6 kB / 443.5 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.717e-05/0.1245, allocations: 0 / 443.5 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.1246, allocations: 0 / 443.5 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.356e-05/0.1246, allocations: 0 / 443.5 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.362e-05/0.1246, allocations: 7.984 kB / 443.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.332e-06/0.1246, allocations: 0 / 443.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.1249, allocations: 131.8 kB / 443.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.36e-06/0.1249, allocations: 0 / 443.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.1249, allocations: 25.7 kB / 443.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.1251, allocations: 103.7 kB / 443.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.1251, allocations: 0 / 443.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1251, allocations: 0 / 443.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1251, allocations: 0 / 443.8 MB, free: 12.04 MB / 382.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.0002852/0.1254, allocations: 361.1 kB / 444.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1254, allocations: 20.02 kB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.1255, allocations: 30.56 kB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.1255, allocations: 7.859 kB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.455e-05/0.1256, allocations: 159.1 kB / 444.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1256, allocations: 0 / 444.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.1256, allocations: 11.98 kB / 444.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.613e-05/0.1257, allocations: 25.7 kB / 444.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-06/0.1257, allocations: 0 / 444.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.1258, allocations: 0 / 444.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1258, allocations: 4 kB / 444.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.795e-05/0.1258, allocations: 4 kB / 444.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.1259, allocations: 153.6 kB / 444.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.887e-05/0.126, allocations: 22.59 kB / 444.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.6e-06/0.126, allocations: 0 / 444.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.126, allocations: 64.2 kB / 444.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.126, allocations: 0 / 444.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001517/0.1262, allocations: 67.41 kB / 444.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.1262, allocations: 77.11 kB / 444.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.293e-05/0.1263, allocations: 93.84 kB / 444.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.1263, allocations: 25.7 kB / 444.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.1263, allocations: 80.14 kB / 445 MB, free: 10.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.1263, allocations: 4 kB / 445 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.1263, allocations: 0 / 445 MB, free: 10.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.1264, allocations: 318.8 kB / 445.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-06/0.1265, allocations: 4.125 kB / 445.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-06/0.1265, allocations: 0 / 445.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.571e-05/0.1265, allocations: 29.7 kB / 445.3 MB, free: 10.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1265, allocations: 0 / 445.3 MB, free: 10.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.886e-05/0.1266, allocations: 63.39 kB / 445.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.1266, allocations: 29.7 kB / 445.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.1266, allocations: 0 / 445.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.1266, allocations: 0 / 445.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.288e-06/0.1266, allocations: 0 / 445.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1267, allocations: 3.938 kB / 445.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.1267, allocations: 8.094 kB / 445.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1267, allocations: 0 / 445.4 MB, free: 10.14 MB / 382.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.567e-05/0.1268, allocations: 139.5 kB / 445.6 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.735e-06/0.1268, allocations: 7.938 kB / 445.6 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.043e-05/0.1268, allocations: 7.109 kB / 445.6 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.1268, allocations: 0 / 445.6 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1268, allocations: 0 / 445.6 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.1268, allocations: 0 / 445.6 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.094e-05/0.1269, allocations: 145.9 kB / 445.7 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1269, allocations: 4 kB / 445.7 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.1269, allocations: 4 kB / 445.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1269, allocations: 0 / 445.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.1269, allocations: 0 / 445.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1269, allocations: 3.984 kB / 445.7 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.127, allocations: 0 / 445.7 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.596e-05/0.127, allocations: 86.84 kB / 445.8 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.1271, allocations: 85 kB / 445.9 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1271, allocations: 8.016 kB / 445.9 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-06/0.1271, allocations: 3.938 kB / 445.9 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.1271, allocations: 7.984 kB / 445.9 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.1271, allocations: 0 / 445.9 MB, free: 9.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.369e-05/0.1272, allocations: 75.28 kB / 446 MB, free: 9.465 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1272, allocations: 0 / 446 MB, free: 9.465 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1275, allocations: 48 kB / 446 MB, free: 9.418 MB / 382.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.0006035/0.1281, allocations: 0.7114 MB / 446.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.104e-05/0.1282, allocations: 63.39 kB / 446.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1282, allocations: 3.938 kB / 446.8 MB, free: 8.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.608e-05/0.1282, allocations: 55.41 kB / 446.9 MB, free: 8.531 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.395e-05/0.1283, allocations: 4.156 kB / 446.9 MB, free: 8.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.1286, allocations: 128.3 kB / 447 MB, free: 8.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.1288, allocations: 0.6692 MB / 447.7 MB, free: 7.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.084e-06/0.1288, allocations: 7.922 kB / 447.7 MB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.193e-05/0.1288, allocations: 11.44 kB / 447.7 MB, free: 7.652 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1288, allocations: 0 / 447.7 MB, free: 7.652 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01363/0.1425, allocations: 1.983 MB / 449.7 MB, free: 5.703 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000374/0.143, allocations: 211.6 kB / 449.9 MB, free: 5.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/1.813, allocations: 0 / 449.9 MB, free: 5.461 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat does not exist to compare? outputFormat=mat