Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29",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.0007938/0.0007938, allocations: 88.19 kB / 15.7 MB, free: 460 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.0008037/0.0008038, allocations: 173.7 kB / 16.58 MB, free: 6.84 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.497/1.497, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.3825/0.3825, allocations: 43.56 MB / 314.6 MB, free: 8.812 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.0004892/0.0004892, allocations: 16 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1234, allocations: 58.86 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002221/0.1256, allocations: 1.275 MB / 444.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006534/0.1263, allocations: 291.8 kB / 444.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.1264, allocations: 0 / 444.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.1267, allocations: 31.91 kB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.1269, allocations: 31.83 kB / 444.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.1271, allocations: 59.94 kB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1273, allocations: 63.81 kB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.1275, allocations: 20.44 kB / 444.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.097e-05/0.1275, allocations: 19.88 kB / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.1277, allocations: 27.83 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1277, allocations: 4 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.44e-05/0.1278, allocations: 20 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.1278, allocations: 19.92 kB / 444.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.1279, allocations: 29.7 kB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.128, allocations: 63.84 kB / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.128, allocations: 0 / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.128, allocations: 0 / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1281, allocations: 0 / 444.8 MB, free: 10.98 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005966/0.1287, allocations: 382.9 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.1287, allocations: 12.03 kB / 445.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.1288, allocations: 30.56 kB / 445.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.1288, allocations: 15.86 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.129, allocations: 190.9 kB / 445.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1291, allocations: 8 kB / 445.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1291, allocations: 0 / 445.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1293, allocations: 57.67 kB / 445.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1293, allocations: 0 / 445.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1293, allocations: 4 kB / 445.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1293, allocations: 0 / 445.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.1294, allocations: 47.86 kB / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.1299, allocations: 288.9 kB / 445.8 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.13, allocations: 50.5 kB / 445.9 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.1301, allocations: 24.98 kB / 445.9 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.1301, allocations: 15.97 kB / 445.9 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.1302, allocations: 34.52 kB / 446 MB, free: 9.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1302, allocations: 0 / 446 MB, free: 9.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006663/0.1308, allocations: 201.2 kB / 446.2 MB, free: 9.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.1309, allocations: 51.41 kB / 446.2 MB, free: 9.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.131, allocations: 157.4 kB / 446.4 MB, free: 9.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1311, allocations: 25.7 kB / 446.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/0.1311, allocations: 100.1 kB / 446.5 MB, free: 9.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.1312, allocations: 31.56 kB / 446.5 MB, free: 9.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.1312, allocations: 0 / 446.5 MB, free: 9.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1314, allocations: 322.8 kB / 446.8 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/0.1314, allocations: 27.98 kB / 446.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.336e-05/0.1315, allocations: 23.98 kB / 446.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.687e-05/0.1316, allocations: 35.98 kB / 446.9 MB, free: 8.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1316, allocations: 0 / 446.9 MB, free: 8.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002048/0.1318, allocations: 113.4 kB / 447 MB, free: 8.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1318, allocations: 4 kB / 447 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1318, allocations: 0 / 447 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1319, allocations: 11.94 kB / 447 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-05/0.132, allocations: 19.98 kB / 447.1 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.132, allocations: 0 / 447.1 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.132, allocations: 8 kB / 447.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.132, allocations: 4 kB / 447.1 MB, free: 8.5 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.832e-05/0.1321, allocations: 121.8 kB / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.1322, allocations: 11.86 kB / 447.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.1324, allocations: 126.3 kB / 447.3 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1324, allocations: 0 / 447.3 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1325, allocations: 0 / 447.3 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1325, allocations: 0 / 447.3 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.1329, allocations: 394.5 kB / 447.7 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1329, allocations: 0 / 447.7 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.133, allocations: 23.92 kB / 447.7 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.133, allocations: 0 / 447.7 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.133, allocations: 4 kB / 447.7 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.133, allocations: 0 / 447.7 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.133, allocations: 4 kB / 447.7 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.1333, allocations: 203.8 kB / 447.9 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.1333, allocations: 85.02 kB / 448 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1333, allocations: 4.375 kB / 448 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.47e-05/0.1334, allocations: 11.98 kB / 448 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.1334, allocations: 7.938 kB / 448 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1335, allocations: 8 kB / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.274e-05/0.1336, allocations: 119.2 kB / 448.2 MB, free: 7.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1336, allocations: 3.938 kB / 448.2 MB, free: 7.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1338, allocations: 23.98 kB / 448.2 MB, free: 7.27 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.001278/0.1351, allocations: 1.027 MB / 449.2 MB, free: 6.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1353, allocations: 75.89 kB / 449.3 MB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1353, allocations: 0 / 449.3 MB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.1354, allocations: 39.97 kB / 449.3 MB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.1357, allocations: 19.92 kB / 449.4 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1368, allocations: 0.6277 MB / 450 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.1371, allocations: 0.7004 MB / 450.7 MB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.093e-05/0.1371, allocations: 8.984 kB / 450.7 MB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.1372, allocations: 31.42 kB / 450.7 MB, free: 4.68 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1372, allocations: 0 / 450.7 MB, free: 4.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.1507, allocations: 2.246 MB / 453 MB, free: 2.438 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.151, allocations: 220.2 kB / 453.2 MB, free: 2.195 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/1.873, allocations: 0 / 453.2 MB, free: 2.195 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat does not exist to compare? outputFormat=mat