Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test44",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.001564/0.001563, allocations: 185.9 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.064/2.064, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001139/0.001139, allocations: 91.56 kB / 270.9 MB, free: 8.398 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.5136/0.5136, allocations: 43.55 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006428/0.000643, allocations: 16 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1281, allocations: 58.85 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4597/0.5878, allocations: 87.71 MB / 0.5645 GB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/0.5882, allocations: 78.69 kB / 0.5646 GB, free: 14.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02492/0.6131, allocations: 5.46 MB / 0.5699 GB, free: 9.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6132, allocations: 4 kB / 0.5699 GB, free: 9.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.6132, allocations: 0 / 0.5699 GB, free: 9.32 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006994/0.6139, allocations: 434.3 kB / 0.5703 GB, free: 8.852 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.614, allocations: 8.031 kB / 0.5703 GB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.029e-05/0.6141, allocations: 34.56 kB / 0.5703 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.6141, allocations: 19.25 kB / 0.5704 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.6145, allocations: 211.6 kB / 0.5706 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.6146, allocations: 4 kB / 0.5706 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.6146, allocations: 7.984 kB / 0.5706 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.6148, allocations: 54.55 kB / 0.5706 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.6148, allocations: 0 / 0.5706 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.6149, allocations: 3.938 kB / 0.5706 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.6149, allocations: 1.031 kB / 0.5706 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.615, allocations: 23.92 kB / 0.5707 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/0.6155, allocations: 292.9 kB / 0.5709 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.6158, allocations: 66.67 kB / 0.571 GB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.6159, allocations: 3.938 kB / 0.571 GB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.6161, allocations: 71.5 kB / 0.5711 GB, free: 7.941 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.6161, allocations: 0 / 0.5711 GB, free: 7.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008069/0.6169, allocations: 181 kB / 0.5712 GB, free: 7.758 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.617, allocations: 55.41 kB / 0.5713 GB, free: 7.691 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.6173, allocations: 184.8 kB / 0.5715 GB, free: 7.504 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.6173, allocations: 29.7 kB / 0.5715 GB, free: 7.469 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.724e-05/0.6174, allocations: 162.6 kB / 0.5717 GB, free: 7.309 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.6175, allocations: 27.64 kB / 0.5717 GB, free: 7.281 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.789e-06/0.6175, allocations: 4 kB / 0.5717 GB, free: 7.277 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6177, allocations: 314.8 kB / 0.572 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.566e-05/0.6178, allocations: 20 kB / 0.572 GB, free: 6.941 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.6179, allocations: 38.45 kB / 0.572 GB, free: 6.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.618, allocations: 23.98 kB / 0.5721 GB, free: 6.875 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.618, allocations: 7.938 kB / 0.5721 GB, free: 6.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002986/0.6183, allocations: 86.47 kB / 0.5722 GB, free: 6.777 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.6184, allocations: 11.98 kB / 0.5722 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6184, allocations: 0 / 0.5722 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.6184, allocations: 0 / 0.5722 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.6186, allocations: 19.97 kB / 0.5722 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.6186, allocations: 8.141 kB / 0.5722 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.749e-05/0.6187, allocations: 3.984 kB / 0.5722 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.6187, allocations: 7.938 kB / 0.5722 GB, free: 6.727 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 (10): * Single equations (assignments): 10 * 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.0001462/0.6189, allocations: 125.8 kB / 0.5723 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.6189, allocations: 15.81 kB / 0.5723 GB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.6194, allocations: 127.8 kB / 0.5725 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.6194, allocations: 4 kB / 0.5725 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6194, allocations: 0 / 0.5725 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.6194, allocations: 3.953 kB / 0.5725 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007334/0.6202, allocations: 415.3 kB / 0.5729 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.6202, allocations: 0 / 0.5729 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.536e-05/0.6203, allocations: 15.92 kB / 0.5729 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.6203, allocations: 4 kB / 0.5729 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.6203, allocations: 4 kB / 0.5729 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.6203, allocations: 7.984 kB / 0.5729 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6203, allocations: 0 / 0.5729 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.6207, allocations: 221.9 kB / 0.5731 GB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.648e-05/0.6208, allocations: 93 kB / 0.5732 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.6209, allocations: 8.328 kB / 0.5732 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.621, allocations: 0 / 0.5732 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.6211, allocations: 15.92 kB / 0.5732 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.6211, allocations: 12 kB / 0.5732 GB, free: 5.555 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002161/0.6213, allocations: 152.9 kB / 0.5734 GB, free: 5.406 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6213, allocations: 0 / 0.5734 GB, free: 5.406 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003771/0.6217, allocations: 35.92 kB / 0.5734 GB, free: 5.371 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 (9): * Single equations (assignments): 7 * 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.002076/0.6238, allocations: 1.198 MB / 0.5746 GB, free: 4.246 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.6242, allocations: 63.92 kB / 0.5746 GB, free: 4.184 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.6243, allocations: 0 / 0.5746 GB, free: 4.184 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.6244, allocations: 27.98 kB / 0.5747 GB, free: 4.156 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.6248, allocations: 27.41 kB / 0.5747 GB, free: 4.133 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.6268, allocations: 0.9209 MB / 0.5756 GB, free: 3.168 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.6273, allocations: 0.7122 MB / 0.5763 GB, free: 2.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.6275, allocations: 43.36 kB / 0.5763 GB, free: 2.391 MB / 394.7 MB Notification: Performance of SimCode: time 1.303e-06/0.6275, allocations: 0 / 0.5763 GB, free: 2.391 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.578/3.206, allocations: 2.524 MB / 0.5788 GB, free: 15.87 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat