Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",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.001086/0.001085, allocations: 96.05 kB / 15.69 MB, free: 488 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.001324/0.001324, allocations: 175.9 kB / 16.57 MB, free: 6.379 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.444/1.444, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3284/0.3284, allocations: 43.54 MB / 314.5 MB, free: 8.953 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.0005445/0.0005446, allocations: 12 kB / 384 MB, free: 8.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1323, allocations: 58.86 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.000603/0.1329, allocations: 228.4 kB / 443.1 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005466/0.1335, allocations: 235.7 kB / 443.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.548e-05/0.1335, allocations: 0 / 443.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.1335, allocations: 0 / 443.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.582e-06/0.1336, allocations: 0 / 443.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.1338, allocations: 47.81 kB / 443.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.07e-05/0.1339, allocations: 4 kB / 443.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.1339, allocations: 0 / 443.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.513e-05/0.1339, allocations: 0 / 443.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.644e-05/0.134, allocations: 0 / 443.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.134, allocations: 0 / 443.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1341, allocations: 51.95 kB / 443.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.534e-06/0.1341, allocations: 0 / 443.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.1341, allocations: 25.7 kB / 443.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.84e-05/0.1342, allocations: 31.89 kB / 443.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.1342, allocations: 0 / 443.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1343, allocations: 0 / 443.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.1343, allocations: 0 / 443.4 MB, free: 12.61 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.000309/0.1346, allocations: 357.1 kB / 443.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1346, allocations: 8.031 kB / 443.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.155e-05/0.1347, allocations: 30.56 kB / 443.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.1347, allocations: 19.8 kB / 443.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.04e-05/0.1348, allocations: 159.1 kB / 444 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1348, allocations: 0 / 444 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-06/0.1348, allocations: 0 / 444 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.094e-05/0.1349, allocations: 37.62 kB / 444 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1349, allocations: 0 / 444 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1349, allocations: 0 / 444 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.135, allocations: 0 / 444 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.814e-05/0.135, allocations: 4 kB / 444 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.1351, allocations: 153.6 kB / 444.2 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.632e-05/0.1352, allocations: 14.58 kB / 444.2 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-06/0.1352, allocations: 0 / 444.2 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.1352, allocations: 72.27 kB / 444.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1352, allocations: 3.938 kB / 444.3 MB, free: 11.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001591/0.1354, allocations: 59.41 kB / 444.3 MB, free: 11.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.1355, allocations: 85.23 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.964e-05/0.1355, allocations: 89.86 kB / 444.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.1355, allocations: 25.7 kB / 444.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.1356, allocations: 80.14 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.1356, allocations: 0 / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-06/0.1356, allocations: 0 / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1357, allocations: 318.8 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.739e-06/0.1357, allocations: 4 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.02e-05/0.1357, allocations: 4 kB / 444.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.59e-05/0.1358, allocations: 33.7 kB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1358, allocations: 0 / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.301e-05/0.1359, allocations: 59.41 kB / 445 MB, free: 10.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.1359, allocations: 33.69 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1359, allocations: 4 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1359, allocations: 0 / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.1359, allocations: 0 / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1359, allocations: 0 / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.643e-05/0.136, allocations: 288 / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.136, allocations: 0 / 445.1 MB, free: 10.72 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 9.72e-05/0.1361, allocations: 147.5 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-06/0.1361, allocations: 4 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.099e-05/0.1361, allocations: 3.125 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1361, allocations: 0 / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1361, allocations: 3.984 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1361, allocations: 4 kB / 445.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.1362, allocations: 153.6 kB / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1362, allocations: 0 / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1363, allocations: 3.938 kB / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.1363, allocations: 4 kB / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1363, allocations: 0 / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1363, allocations: 11.94 kB / 445.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1363, allocations: 0 / 445.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.551e-05/0.1364, allocations: 86.83 kB / 445.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.1364, allocations: 85.06 kB / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.1365, allocations: 3.938 kB / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-06/0.1365, allocations: 8.016 kB / 445.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.1365, allocations: 0 / 445.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.1365, allocations: 0 / 445.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.962e-05/0.1365, allocations: 75.28 kB / 445.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1365, allocations: 4 kB / 445.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002132/0.1368, allocations: 20 kB / 445.7 MB, free: 10 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.0007524/0.1375, allocations: 0.7911 MB / 446.5 MB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.405e-05/0.1376, allocations: 59.41 kB / 446.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1376, allocations: 0 / 446.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.344e-05/0.1377, allocations: 59.39 kB / 446.6 MB, free: 9.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.364e-05/0.1377, allocations: 4.125 kB / 446.6 MB, free: 9.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.138, allocations: 116.3 kB / 446.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.1383, allocations: 0.6731 MB / 447.4 MB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.622e-06/0.1384, allocations: 3.938 kB / 447.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.255e-05/0.1384, allocations: 7.438 kB / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1384, allocations: 0 / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01495/0.1533, allocations: 1.371 MB / 448.7 MB, free: 6.84 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003503/0.1537, allocations: 204.2 kB / 448.9 MB, free: 6.602 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/1.948, allocations: 3.938 kB / 449 MB, free: 6.598 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat