Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test33",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.0008909/0.0008908, 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.00116/0.00116, allocations: 175.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.549/1.549, allocations: 205.4 MB / 222.7 MB, free: 5.879 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.3525/0.3525, allocations: 43.55 MB / 314.6 MB, free: 8.68 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.0005437/0.0005438, allocations: 16 kB / 384 MB, free: 7.965 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1213, allocations: 58.86 MB / 442.9 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002135/0.1235, allocations: 1.267 MB / 444.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1248, allocations: 0.8674 MB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.1249, allocations: 0 / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.1252, allocations: 23.92 kB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.1254, allocations: 35.84 kB / 445.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.1257, allocations: 59.88 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.1259, allocations: 51.84 kB / 445.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.126, allocations: 16.23 kB / 445.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.556e-05/0.1261, allocations: 19.88 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.1263, allocations: 19.92 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.1263, allocations: 7.984 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.1265, allocations: 35.98 kB / 445.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.78e-05/0.1265, allocations: 15.92 kB / 445.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.1266, allocations: 29.7 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.1268, allocations: 71.77 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1268, allocations: 4 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1268, allocations: 0 / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1268, allocations: 0 / 445.4 MB, free: 10.46 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.0004793/0.1273, allocations: 367.1 kB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1273, allocations: 12.03 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.1274, allocations: 30.56 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.1274, allocations: 15.86 kB / 445.8 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.1276, allocations: 186.9 kB / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1277, allocations: 3.938 kB / 446 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.1277, allocations: 4 kB / 446 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1278, allocations: 63.34 kB / 446.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1279, allocations: 0 / 446.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1279, allocations: 0 / 446.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1279, allocations: 7.953 kB / 446.1 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.149e-05/0.128, allocations: 27.97 kB / 446.1 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.1284, allocations: 265 kB / 446.4 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.1286, allocations: 50.5 kB / 446.4 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.1286, allocations: 16.94 kB / 446.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1287, allocations: 4 kB / 446.4 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.1287, allocations: 34.52 kB / 446.5 MB, free: 9.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.304e-06/0.1287, allocations: 3.984 kB / 446.5 MB, free: 9.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005584/0.1293, allocations: 153.4 kB / 446.6 MB, free: 9.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.1293, allocations: 77.11 kB / 446.7 MB, free: 8.961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1295, allocations: 141.8 kB / 446.8 MB, free: 8.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1295, allocations: 25.7 kB / 446.9 MB, free: 8.781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.1296, allocations: 100 kB / 446.9 MB, free: 8.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.1296, allocations: 15.8 kB / 447 MB, free: 8.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.1296, allocations: 0 / 447 MB, free: 8.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1297, allocations: 322.8 kB / 447.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.367e-05/0.1298, allocations: 19.98 kB / 447.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.58e-05/0.1299, allocations: 37.7 kB / 447.3 MB, free: 8.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.634e-05/0.1299, allocations: 24.17 kB / 447.4 MB, free: 8.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1299, allocations: 0 / 447.4 MB, free: 8.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001798/0.1301, allocations: 93.55 kB / 447.5 MB, free: 8.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1302, allocations: 11.95 kB / 447.5 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1302, allocations: 0 / 447.5 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1302, allocations: 3.938 kB / 447.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.891e-05/0.1303, allocations: 15.98 kB / 447.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1303, allocations: 3.984 kB / 447.5 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.095e-05/0.1303, allocations: 4 kB / 447.5 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1303, allocations: 4 kB / 447.5 MB, free: 8.113 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 9.302e-05/0.1304, allocations: 125.8 kB / 447.6 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.1305, allocations: 0 / 447.6 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.1307, allocations: 109.4 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1307, allocations: 0 / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1307, allocations: 0 / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1307, allocations: 4 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.1311, allocations: 342.6 kB / 448.1 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1312, allocations: 7.891 kB / 448.1 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.1312, allocations: 15.98 kB / 448.1 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1312, allocations: 7.938 kB / 448.1 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1312, allocations: 4 kB / 448.1 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1313, allocations: 0 / 448.1 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1313, allocations: 0 / 448.1 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.1315, allocations: 187.6 kB / 448.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.1315, allocations: 85.06 kB / 448.4 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.1316, allocations: 4 kB / 448.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.1316, allocations: 7.984 kB / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.1317, allocations: 4 kB / 448.4 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1317, allocations: 4 kB / 448.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.659e-05/0.1318, allocations: 103.2 kB / 448.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.263e-06/0.1318, allocations: 4 kB / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000244/0.132, allocations: 15.94 kB / 448.5 MB, free: 7 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.001318/0.1334, allocations: 1.06 MB / 449.6 MB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.1336, allocations: 51.97 kB / 449.6 MB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1336, allocations: 3.938 kB / 449.6 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.845e-05/0.1337, allocations: 31.98 kB / 449.6 MB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.134, allocations: 15.98 kB / 449.7 MB, free: 5.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009156/0.1349, allocations: 0.525 MB / 450.2 MB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.1351, allocations: 0.6887 MB / 450.9 MB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.408e-05/0.1352, allocations: 12 kB / 450.9 MB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.1353, allocations: 23.42 kB / 450.9 MB, free: 4.527 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1353, allocations: 0 / 450.9 MB, free: 4.527 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.151, allocations: 2.271 MB / 453.2 MB, free: 2.254 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.1512, allocations: 224.8 kB / 453.4 MB, free: 2.008 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/1.826, allocations: 7.938 kB / 453.4 MB, free: 2 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat does not exist to compare? outputFormat=mat