Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.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.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test76",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.00149/0.00149, allocations: 186.3 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 92.42 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.508/0.508, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004843, allocations: 12 kB / 431.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1247, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4664/0.5911, allocations: 87.7 MB / 0.5645 GB, free: 14.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.5915, allocations: 79.95 kB / 0.5645 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02635/0.6179, allocations: 5.833 MB / 0.5702 GB, free: 8.965 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6179, allocations: 0 / 0.5702 GB, free: 8.965 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.6179, allocations: 4 kB / 0.5702 GB, free: 8.961 MB / 394.7 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.0007185/0.6187, allocations: 428.9 kB / 0.5707 GB, free: 8.496 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.6187, allocations: 8.031 kB / 0.5707 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.363e-05/0.6188, allocations: 42.56 kB / 0.5707 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.6189, allocations: 15.25 kB / 0.5707 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.6193, allocations: 215.5 kB / 0.5709 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.6193, allocations: 4 kB / 0.5709 GB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.6194, allocations: 4 kB / 0.5709 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.6196, allocations: 69.64 kB / 0.571 GB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.6196, allocations: 4 kB / 0.571 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.6197, allocations: 8 kB / 0.571 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.6197, allocations: 1.031 kB / 0.571 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.6199, allocations: 47.95 kB / 0.5711 GB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.6205, allocations: 332.6 kB / 0.5714 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.6209, allocations: 86.64 kB / 0.5715 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.6209, allocations: 7.938 kB / 0.5715 GB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.6211, allocations: 79.61 kB / 0.5715 GB, free: 7.465 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 4.859e-06/0.6212, allocations: 0 / 0.5715 GB, free: 7.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009821/0.6222, allocations: 249.3 kB / 0.5718 GB, free: 7.215 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.6222, allocations: 55.41 kB / 0.5718 GB, free: 7.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.6225, allocations: 172.8 kB / 0.572 GB, free: 6.973 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.6225, allocations: 29.69 kB / 0.572 GB, free: 6.938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.6226, allocations: 166.8 kB / 0.5722 GB, free: 6.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.6227, allocations: 27.56 kB / 0.5722 GB, free: 6.742 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.6227, allocations: 8 kB / 0.5722 GB, free: 6.734 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6229, allocations: 318.8 kB / 0.5725 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.623, allocations: 31.98 kB / 0.5726 GB, free: 6.383 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.6232, allocations: 45.7 kB / 0.5726 GB, free: 6.332 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.6233, allocations: 32.73 kB / 0.5726 GB, free: 6.301 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6233, allocations: 0 / 0.5726 GB, free: 6.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003793/0.6237, allocations: 141.5 kB / 0.5728 GB, free: 6.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.6237, allocations: 8 kB / 0.5728 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.6238, allocations: 0 / 0.5728 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.6238, allocations: 0 / 0.5728 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.624, allocations: 19.98 kB / 0.5728 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.624, allocations: 7.953 kB / 0.5728 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.408e-05/0.6241, allocations: 4 kB / 0.5728 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.6241, allocations: 4 kB / 0.5728 GB, free: 6.113 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001538/0.6243, allocations: 133.8 kB / 0.5729 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.6243, allocations: 11.91 kB / 0.5729 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005308/0.6249, allocations: 168.4 kB / 0.5731 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6249, allocations: 0 / 0.5731 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.6249, allocations: 0 / 0.5731 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.6249, allocations: 3.953 kB / 0.5731 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008718/0.6258, allocations: 480.2 kB / 0.5736 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6258, allocations: 4.031 kB / 0.5736 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.626, allocations: 19.98 kB / 0.5736 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.626, allocations: 0 / 0.5736 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.626, allocations: 4 kB / 0.5736 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.626, allocations: 3.953 kB / 0.5736 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.626, allocations: 3.938 kB / 0.5736 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/0.6265, allocations: 253.9 kB / 0.5738 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.6266, allocations: 97 kB / 0.5739 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.6267, allocations: 7.953 kB / 0.5739 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.6268, allocations: 4 kB / 0.5739 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.6269, allocations: 11.98 kB / 0.574 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.6269, allocations: 4 kB / 0.574 GB, free: 4.816 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001965/0.6271, allocations: 152.8 kB / 0.5741 GB, free: 4.668 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6271, allocations: 0 / 0.5741 GB, free: 4.668 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003882/0.6275, allocations: 35.98 kB / 0.5741 GB, free: 4.633 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002078/0.6296, allocations: 1.236 MB / 0.5753 GB, free: 3.469 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003956/0.63, allocations: 91.84 kB / 0.5754 GB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6301, allocations: 0 / 0.5754 GB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.6302, allocations: 55.91 kB / 0.5755 GB, free: 3.324 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.6307, allocations: 19.98 kB / 0.5755 GB, free: 3.305 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.6327, allocations: 1.005 MB / 0.5765 GB, free: 2.258 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.6331, allocations: 0.7082 MB / 0.5772 GB, free: 1.523 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.6333, allocations: 47.41 kB / 0.5772 GB, free: 1.477 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6333, allocations: 0 / 0.5772 GB, free: 1.477 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.01/3.644, allocations: 2.74 MB / 0.5799 GB, free: 14.75 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat does not exist to compare? outputFormat=mat