Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6",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.0009146/0.000915, allocations: 96.05 kB / 15.68 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.0008986/0.0008987, allocations: 178.1 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.674/1.674, allocations: 205.4 MB / 222.7 MB, free: 5.68 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.3516/0.3516, allocations: 43.54 MB / 314.5 MB, free: 8.707 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.0005011/0.0005011, allocations: 12 kB / 384 MB, free: 7.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.114, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.001891/0.116, allocations: 1.318 MB / 444.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005503/0.1166, allocations: 279.8 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.1166, allocations: 4 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005546/0.1172, allocations: 439.2 kB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.1175, allocations: 235.5 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1178, allocations: 99.88 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.118, allocations: 115.7 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.606e-05/0.1181, allocations: 16.17 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1182, allocations: 99.8 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.1184, allocations: 147.7 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1184, allocations: 0 / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-05/0.1185, allocations: 23.94 kB / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1186, allocations: 79.69 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.1187, allocations: 69.52 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.1189, allocations: 191.9 kB / 445.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1189, allocations: 0 / 445.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1189, allocations: 0 / 445.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.119, allocations: 0 / 445.9 MB, free: 9.883 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007935/0.1198, allocations: 0.5988 MB / 446.5 MB, free: 9.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.1198, allocations: 8.031 kB / 446.5 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.1199, allocations: 38.5 kB / 446.6 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.254e-05/0.1199, allocations: 43.39 kB / 446.6 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.1203, allocations: 283.3 kB / 446.9 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-06/0.1203, allocations: 0 / 446.9 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.1203, allocations: 4 kB / 446.9 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1205, allocations: 65.61 kB / 447 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1205, allocations: 0 / 447 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.1205, allocations: 0 / 447 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1205, allocations: 4 kB / 447 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.1207, allocations: 47.86 kB / 447 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/0.1212, allocations: 392.6 kB / 447.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.1214, allocations: 42.56 kB / 447.4 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1214, allocations: 0 / 447.4 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.1214, allocations: 42.56 kB / 447.5 MB, free: 8.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1214, allocations: 0 / 447.5 MB, free: 8.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008592/0.1223, allocations: 324 kB / 447.8 MB, free: 7.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.1224, allocations: 51.41 kB / 447.8 MB, free: 7.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008532/0.1232, allocations: 0.8691 MB / 448.7 MB, free: 6.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1232, allocations: 25.7 kB / 448.7 MB, free: 6.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.1234, allocations: 212.1 kB / 448.9 MB, free: 6.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.1235, allocations: 27.56 kB / 449 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.1235, allocations: 0 / 449 MB, free: 6.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1236, allocations: 362.8 kB / 449.3 MB, free: 6.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.1238, allocations: 43.97 kB / 449.4 MB, free: 6.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1239, allocations: 39.97 kB / 449.4 MB, free: 6.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.124, allocations: 39.98 kB / 449.4 MB, free: 6.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.124, allocations: 0 / 449.4 MB, free: 6.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002998/0.1243, allocations: 157.2 kB / 449.6 MB, free: 5.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1243, allocations: 7.953 kB / 449.6 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1243, allocations: 0 / 449.6 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1244, allocations: 4 kB / 449.6 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1245, allocations: 23.92 kB / 449.6 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1245, allocations: 0 / 449.6 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.859e-05/0.1246, allocations: 19.98 kB / 449.7 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1246, allocations: 0 / 449.7 MB, free: 5.926 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 (7): * Single equations (assignments): 7 * 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.0001918/0.1248, allocations: 217.8 kB / 449.9 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.1249, allocations: 43.44 kB / 449.9 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.1252, allocations: 189.4 kB / 450.1 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1253, allocations: 4 kB / 450.1 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1253, allocations: 0 / 450.1 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1253, allocations: 0 / 450.1 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.1259, allocations: 0.5061 MB / 450.6 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1259, allocations: 4.234 kB / 450.6 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.398e-05/0.126, allocations: 23.98 kB / 450.6 MB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.126, allocations: 7.938 kB / 450.6 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1261, allocations: 0 / 450.6 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1261, allocations: 4 kB / 450.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1261, allocations: 0 / 450.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.1264, allocations: 267.3 kB / 450.9 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.1265, allocations: 116.5 kB / 451 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.1266, allocations: 0 / 451 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.1267, allocations: 15.98 kB / 451 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.1267, allocations: 11.98 kB / 451 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1267, allocations: 4 kB / 451 MB, free: 4.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005916/0.1273, allocations: 0.6511 MB / 451.7 MB, free: 3.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1273, allocations: 0 / 451.7 MB, free: 3.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1276, allocations: 28 kB / 451.7 MB, free: 3.746 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 (7): * Single equations (assignments): 7 * 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.001392/0.129, allocations: 1.097 MB / 452.8 MB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.1293, allocations: 95.88 kB / 452.9 MB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.1293, allocations: 0 / 452.9 MB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.1294, allocations: 55.91 kB / 453 MB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.1297, allocations: 25.95 kB / 453 MB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.1326, allocations: 2.269 MB / 455.3 MB, free: 144 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1964/0.329, allocations: 0.8292 MB / 456.1 MB, free: 46.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.666e-05/0.3291, allocations: 6.547 kB / 456.1 MB, free: 46.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.3292, allocations: 107.1 kB / 456.2 MB, free: 46.08 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3293, allocations: 2.312 kB / 456.2 MB, free: 46.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1203/0.4496, allocations: 5.437 MB / 461.6 MB, free: 45.71 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/0.4499, allocations: 223.7 kB / 461.9 MB, free: 45.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.304, allocations: 0 / 461.9 MB, free: 45.46 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat does not exist to compare? outputFormat=mat