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.0008683/0.0008683, allocations: 96.7 kB / 15.7 MB, free: 468 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.0009131/0.0009133, allocations: 167.8 kB / 16.58 MB, free: 6.844 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.64/1.64, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.4204/0.4204, allocations: 43.54 MB / 314.6 MB, free: 9.008 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.0005174/0.0005174, allocations: 18.97 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1242, allocations: 58.87 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0005443/0.1248, allocations: 220.5 kB / 443.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007075/0.1255, allocations: 331.5 kB / 443.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.759e-06/0.1255, allocations: 0 / 443.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.586e-06/0.1256, allocations: 0 / 443.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.678e-06/0.1256, allocations: 0 / 443.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006262/0.1262, allocations: 143.8 kB / 443.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.359e-05/0.1262, allocations: 0 / 443.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.727e-05/0.1263, allocations: 0 / 443.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.324e-05/0.1263, allocations: 3.984 kB / 443.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.698e-05/0.1263, allocations: 4 kB / 443.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.22e-06/0.1263, allocations: 4 kB / 443.6 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.1266, allocations: 151.7 kB / 443.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-06/0.1266, allocations: 0 / 443.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.1266, allocations: 25.7 kB / 443.7 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1268, allocations: 99.77 kB / 443.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1268, allocations: 0 / 443.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1268, allocations: 0 / 443.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.798e-06/0.1268, allocations: 0 / 443.8 MB, free: 12.21 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.0003025/0.1271, allocations: 365 kB / 444.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1272, allocations: 8.031 kB / 444.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.656e-05/0.1272, allocations: 42.5 kB / 444.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.985e-05/0.1272, allocations: 7.891 kB / 444.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.369e-05/0.1273, allocations: 159.1 kB / 444.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-06/0.1273, allocations: 0 / 444.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.1274, allocations: 3.984 kB / 444.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.79e-05/0.1274, allocations: 29.7 kB / 444.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.1274, allocations: 0 / 444.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-06/0.1275, allocations: 0 / 444.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.1275, allocations: 0 / 444.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.458e-05/0.1275, allocations: 4 kB / 444.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.1276, allocations: 153.6 kB / 444.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.948e-05/0.1277, allocations: 22.5 kB / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.264e-05/0.1277, allocations: 16.89 kB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.1277, allocations: 0 / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.1277, allocations: 56.27 kB / 444.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1278, allocations: 0 / 444.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000139/0.1279, allocations: 71.34 kB / 444.8 MB, free: 11.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.1279, allocations: 81.09 kB / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.417e-05/0.128, allocations: 89.86 kB / 444.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.128, allocations: 25.7 kB / 445 MB, free: 10.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.206e-05/0.128, allocations: 80.14 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.1281, allocations: 4 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-06/0.1281, allocations: 0 / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1282, allocations: 314.8 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-06/0.1282, allocations: 4.125 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.409e-06/0.1282, allocations: 0 / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.006e-05/0.1282, allocations: 29.7 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1282, allocations: 0 / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.969e-05/0.1283, allocations: 67.39 kB / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.1284, allocations: 29.7 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.1284, allocations: 0 / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1284, allocations: 0 / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-06/0.1284, allocations: 0 / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.1284, allocations: 8.031 kB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.656e-05/0.1284, allocations: 4 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-06/0.1284, allocations: 0 / 445.5 MB, free: 10.3 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 8.347e-05/0.1285, allocations: 139.5 kB / 445.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.1285, allocations: 7.984 kB / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.011e-05/0.1285, allocations: 3.125 kB / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.1286, allocations: 0 / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1286, allocations: 0 / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1286, allocations: 3.984 kB / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.155e-05/0.1287, allocations: 153.9 kB / 445.8 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1287, allocations: 3.938 kB / 445.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.1287, allocations: 4 kB / 445.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1287, allocations: 3.984 kB / 445.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.1287, allocations: 0 / 445.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1287, allocations: 0 / 445.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1287, allocations: 3.938 kB / 445.8 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.558e-05/0.1288, allocations: 90.8 kB / 445.9 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.1289, allocations: 85.12 kB / 446 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.1289, allocations: 0 / 446 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-06/0.1289, allocations: 3.938 kB / 446 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.1289, allocations: 4 kB / 446 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1289, allocations: 0 / 446 MB, free: 9.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.44e-05/0.1289, allocations: 75.28 kB / 446.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1289, allocations: 0 / 446.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.1292, allocations: 52 kB / 446.1 MB, free: 9.574 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.000614/0.1299, allocations: 0.7075 MB / 446.8 MB, free: 8.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.312e-05/0.1299, allocations: 59.39 kB / 446.9 MB, free: 8.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.13, allocations: 3.938 kB / 446.9 MB, free: 8.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.908e-05/0.13, allocations: 55.41 kB / 446.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.1301, allocations: 4.156 kB / 446.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.1304, allocations: 128.3 kB / 447.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.1306, allocations: 0.673 MB / 447.7 MB, free: 7.828 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.283e-06/0.1306, allocations: 4 kB / 447.7 MB, free: 7.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.384e-05/0.1307, allocations: 11.44 kB / 447.7 MB, free: 7.812 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1307, allocations: 0 / 447.7 MB, free: 7.812 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.1421, allocations: 1.999 MB / 449.7 MB, free: 5.848 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.1423, allocations: 216.4 kB / 450 MB, free: 5.605 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.867, allocations: 0 / 450 MB, free: 5.605 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