Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003085/0.003084, allocations: 181.8 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.585/2.585, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 101.3 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3389/0.3389, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.009e-05/3.036e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4458, allocations: 58.86 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1675/0.6133, allocations: 85.7 MB / 0.5497 GB, free: 13.51 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.6137, allocations: 71.95 kB / 0.5498 GB, free: 13.44 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01655/0.6302, allocations: 3.554 MB / 0.5532 GB, free: 9.883 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6303, allocations: 0 / 0.5532 GB, free: 9.883 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.6303, allocations: 4 kB / 0.5532 GB, free: 9.879 MB / 395.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.0005041/0.6308, allocations: 378.9 kB / 0.5536 GB, free: 9.465 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.6309, allocations: 12.03 kB / 0.5536 GB, free: 9.453 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.631, allocations: 7.906 kB / 0.5536 GB, free: 9.445 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.6313, allocations: 194.9 kB / 0.5538 GB, free: 9.215 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.6313, allocations: 4 kB / 0.5538 GB, free: 9.211 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.6313, allocations: 0 / 0.5538 GB, free: 9.211 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.073e-05/0.6314, allocations: 12 kB / 0.5538 GB, free: 9.199 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.6316, allocations: 37.69 kB / 0.5539 GB, free: 9.156 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.6316, allocations: 4 kB / 0.5539 GB, free: 9.152 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.6316, allocations: 3.984 kB / 0.5539 GB, free: 9.148 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.6316, allocations: 0 / 0.5539 GB, free: 9.148 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.6321, allocations: 269.3 kB / 0.5541 GB, free: 8.848 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.6324, allocations: 34.56 kB / 0.5541 GB, free: 8.805 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.6325, allocations: 12.86 kB / 0.5542 GB, free: 8.789 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.6325, allocations: 0 / 0.5542 GB, free: 8.789 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.6325, allocations: 34.56 kB / 0.5542 GB, free: 8.746 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/0.6326, allocations: 7.938 kB / 0.5542 GB, free: 8.738 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005946/0.6332, allocations: 109.3 kB / 0.5543 GB, free: 8.625 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.6332, allocations: 55.41 kB / 0.5544 GB, free: 8.559 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.6335, allocations: 140.1 kB / 0.5545 GB, free: 8.414 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.6335, allocations: 25.7 kB / 0.5545 GB, free: 8.383 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.6336, allocations: 158.5 kB / 0.5547 GB, free: 8.227 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.6337, allocations: 19.75 kB / 0.5547 GB, free: 8.207 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.6337, allocations: 4 kB / 0.5547 GB, free: 8.203 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.6339, allocations: 318.8 kB / 0.555 GB, free: 7.883 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.011e-05/0.634, allocations: 8 kB / 0.555 GB, free: 7.875 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.613e-05/0.634, allocations: 12 kB / 0.555 GB, free: 7.863 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.63e-05/0.6341, allocations: 15.98 kB / 0.555 GB, free: 7.848 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6341, allocations: 0 / 0.555 GB, free: 7.848 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001604/0.6343, allocations: 61.62 kB / 0.5551 GB, free: 7.781 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.6343, allocations: 4 kB / 0.5551 GB, free: 7.777 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.6343, allocations: 0 / 0.5551 GB, free: 7.777 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.6343, allocations: 4.25 kB / 0.5551 GB, free: 7.773 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.6345, allocations: 12 kB / 0.5551 GB, free: 7.762 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.6345, allocations: 4 kB / 0.5551 GB, free: 7.758 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.687e-05/0.6346, allocations: 11.98 kB / 0.5551 GB, free: 7.746 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.6346, allocations: 4 kB / 0.5551 GB, free: 7.742 MB / 395.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 () * 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.515e-05/0.6347, allocations: 105.1 kB / 0.5552 GB, free: 7.633 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001667/0.6349, allocations: 69.53 kB / 0.5553 GB, free: 7.559 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.635, allocations: 7.906 kB / 0.5553 GB, free: 7.551 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.6352, allocations: 81.97 kB / 0.5554 GB, free: 7.469 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.6352, allocations: 4 kB / 0.5554 GB, free: 7.465 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6352, allocations: 0 / 0.5554 GB, free: 7.465 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.6353, allocations: 3.953 kB / 0.5554 GB, free: 7.461 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004958/0.6358, allocations: 311.1 kB / 0.5557 GB, free: 7.113 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6358, allocations: 0 / 0.5557 GB, free: 7.113 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.6359, allocations: 12 kB / 0.5557 GB, free: 7.102 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.6359, allocations: 4 kB / 0.5557 GB, free: 7.098 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.636, allocations: 4 kB / 0.5557 GB, free: 7.094 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.636, allocations: 3.984 kB / 0.5557 GB, free: 7.09 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.636, allocations: 3.953 kB / 0.5557 GB, free: 7.086 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.6362, allocations: 159.5 kB / 0.5559 GB, free: 6.914 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.56e-05/0.6363, allocations: 89.02 kB / 0.5559 GB, free: 6.809 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.6363, allocations: 256 / 0.5559 GB, free: 6.809 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.6365, allocations: 15.98 kB / 0.556 GB, free: 6.793 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.6365, allocations: 8 kB / 0.556 GB, free: 6.785 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.6366, allocations: 3.953 kB / 0.556 GB, free: 6.781 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.6367, allocations: 120.4 kB / 0.5561 GB, free: 6.664 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6367, allocations: 7.875 kB / 0.5561 GB, free: 6.656 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003568/0.6371, allocations: 16 kB / 0.5561 GB, free: 6.641 MB / 395.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 () * 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.001497/0.6386, allocations: 0.9181 MB / 0.557 GB, free: 5.738 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.6388, allocations: 27.94 kB / 0.557 GB, free: 5.711 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6388, allocations: 0 / 0.557 GB, free: 5.711 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.505e-05/0.6389, allocations: 23.98 kB / 0.5571 GB, free: 5.688 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.6393, allocations: 19.38 kB / 0.5571 GB, free: 5.672 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007152/0.64, allocations: 207 kB / 0.5573 GB, free: 5.426 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.6405, allocations: 0.7001 MB / 0.558 GB, free: 4.699 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.757e-05/0.6406, allocations: 23.38 kB / 0.558 GB, free: 4.676 MB / 395.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6406, allocations: 0 / 0.558 GB, free: 4.676 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.689/3.329, allocations: 1.858 MB / 0.5598 GB, free: 2.824 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test7.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7_res.mat does not exist to compare? outputFormat=mat