Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7",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.0008044/0.0008044, 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.001073/0.001073, allocations: 176.4 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.459/1.459, 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.3385/0.3385, allocations: 43.55 MB / 314.6 MB, free: 8.754 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.0005083/0.0005084, allocations: 12 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1124, allocations: 58.86 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002153/0.1146, allocations: 1.264 MB / 444.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006248/0.1153, allocations: 283.9 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.1154, allocations: 0 / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.1156, allocations: 15.92 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.1158, allocations: 35.84 kB / 444.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.1161, allocations: 67.8 kB / 444.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.1163, allocations: 51.84 kB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1164, allocations: 20.23 kB / 444.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.134e-05/0.1165, allocations: 19.88 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.744e-05/0.1165, allocations: 15.92 kB / 444.6 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1166, allocations: 0 / 444.6 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.19e-05/0.1167, allocations: 20 kB / 444.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.1167, allocations: 15.91 kB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.1168, allocations: 33.7 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.1169, allocations: 63.8 kB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1169, allocations: 0 / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1169, allocations: 0 / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1169, allocations: 0 / 444.8 MB, free: 11.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005133/0.1175, allocations: 375 kB / 445.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.1175, allocations: 8.031 kB / 445.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.1176, allocations: 38.5 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.1176, allocations: 11.86 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.1178, allocations: 179 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1179, allocations: 0 / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1179, allocations: 7.938 kB / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1181, allocations: 53.62 kB / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.1181, allocations: 3.906 kB / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1181, allocations: 0 / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1181, allocations: 3.953 kB / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.1182, allocations: 27.97 kB / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.1186, allocations: 268.9 kB / 445.7 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.1189, allocations: 54.48 kB / 445.8 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.001e-05/0.119, allocations: 24.86 kB / 445.8 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.119, allocations: 0 / 445.8 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.1191, allocations: 34.52 kB / 445.8 MB, free: 9.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1191, allocations: 0 / 445.8 MB, free: 9.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006624/0.1197, allocations: 161.6 kB / 446 MB, free: 9.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.1198, allocations: 59.41 kB / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.12, allocations: 150 kB / 446.2 MB, free: 9.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.12, allocations: 29.7 kB / 446.2 MB, free: 9.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.12, allocations: 96.12 kB / 446.3 MB, free: 9.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.1201, allocations: 11.75 kB / 446.3 MB, free: 9.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.1201, allocations: 0 / 446.3 MB, free: 9.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1202, allocations: 322.8 kB / 446.6 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.057e-05/0.1203, allocations: 23.98 kB / 446.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.408e-05/0.1204, allocations: 23.98 kB / 446.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.495e-05/0.1204, allocations: 23.98 kB / 446.7 MB, free: 8.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1205, allocations: 0 / 446.7 MB, free: 8.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001858/0.1206, allocations: 93.5 kB / 446.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.1207, allocations: 15.39 kB / 446.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1207, allocations: 0 / 446.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1207, allocations: 0 / 446.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.615e-05/0.1208, allocations: 15.98 kB / 446.8 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.1208, allocations: 0 / 446.8 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.1209, allocations: 4 kB / 446.8 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.1209, allocations: 8 kB / 446.9 MB, free: 8.746 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 (5): * Single equations (assignments): 5 * 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 0.0001112/0.121, allocations: 125.8 kB / 447 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.121, allocations: 7.906 kB / 447 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.1213, allocations: 97.86 kB / 447.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1213, allocations: 7.938 kB / 447.1 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.1213, allocations: 4 kB / 447.1 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1213, allocations: 0 / 447.1 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.1217, allocations: 350.8 kB / 447.4 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1217, allocations: 3.953 kB / 447.4 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.304e-05/0.1218, allocations: 23.98 kB / 447.5 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1218, allocations: 3.938 kB / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1218, allocations: 4 kB / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1219, allocations: 0 / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1219, allocations: 0 / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.1221, allocations: 183.4 kB / 447.6 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.1222, allocations: 85.05 kB / 447.7 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.1222, allocations: 0 / 447.7 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-05/0.1223, allocations: 8 kB / 447.7 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.1224, allocations: 7.984 kB / 447.7 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1224, allocations: 4 kB / 447.7 MB, free: 7.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1225, allocations: 119.2 kB / 447.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1225, allocations: 0 / 447.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1228, allocations: 16 kB / 447.9 MB, free: 7.609 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 (5): * Single equations (assignments): 5 * 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.001437/0.1242, allocations: 1.012 MB / 448.9 MB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.1244, allocations: 55.95 kB / 448.9 MB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1244, allocations: 0 / 448.9 MB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.938e-05/0.1245, allocations: 31.92 kB / 449 MB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.1249, allocations: 12 kB / 449 MB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.126, allocations: 0.5632 MB / 449.6 MB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.1263, allocations: 0.6965 MB / 450.2 MB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.04e-05/0.1264, allocations: 11.98 kB / 450.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.1264, allocations: 23.42 kB / 450.3 MB, free: 5.145 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1264, allocations: 0 / 450.3 MB, free: 5.145 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.14, allocations: 2.089 MB / 452.4 MB, free: 3.055 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.1403, allocations: 215 kB / 452.6 MB, free: 2.816 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/1.809, allocations: 0 / 452.6 MB, free: 2.816 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat does not exist to compare? outputFormat=mat