Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test6",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.002106/0.002105, allocations: 177.8 kB / 8.36 MB, free: 0.7148 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.066/2.066, allocations: 205.3 MB / 214.1 MB, free: 14.12 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.00112/0.00112, allocations: 90.39 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.3055/0.3055, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.635e-05, allocations: 8.219 kB / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.407, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.575, allocations: 86.97 MB / 0.5509 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/0.5754, allocations: 75.95 kB / 0.551 GB, free: 12.15 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0315/0.6069, allocations: 5.666 MB / 0.5565 GB, free: 6.484 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.607, allocations: 4 kB / 0.5565 GB, free: 6.48 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.289e-05/0.607, allocations: 7.938 kB / 0.5566 GB, free: 6.473 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008407/0.6079, allocations: 426.6 kB / 0.557 GB, free: 6.012 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.75e-05/0.6079, allocations: 12.03 kB / 0.557 GB, free: 6 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.011e-05/0.6081, allocations: 11.89 kB / 0.557 GB, free: 5.988 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/0.6087, allocations: 227.7 kB / 0.5572 GB, free: 5.723 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.6088, allocations: 8 kB / 0.5572 GB, free: 5.715 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.6088, allocations: 0 / 0.5572 GB, free: 5.715 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001313/0.609, allocations: 16 kB / 0.5572 GB, free: 5.699 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.6092, allocations: 53.67 kB / 0.5573 GB, free: 5.641 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.6092, allocations: 3.938 kB / 0.5573 GB, free: 5.637 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.6092, allocations: 0 / 0.5573 GB, free: 5.637 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.6092, allocations: 0 / 0.5573 GB, free: 5.637 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007254/0.61, allocations: 289.4 kB / 0.5576 GB, free: 5.316 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.6102, allocations: 54.62 kB / 0.5576 GB, free: 5.254 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.971e-05/0.6103, allocations: 20.98 kB / 0.5576 GB, free: 5.23 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.6104, allocations: 0 / 0.5576 GB, free: 5.23 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.6106, allocations: 71.33 kB / 0.5577 GB, free: 5.148 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.705e-06/0.6106, allocations: 0 / 0.5577 GB, free: 5.148 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.000923/0.6116, allocations: 153.1 kB / 0.5578 GB, free: 4.992 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.6117, allocations: 51.41 kB / 0.5579 GB, free: 4.93 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006201/0.6123, allocations: 255 kB / 0.5581 GB, free: 4.676 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.6123, allocations: 25.7 kB / 0.5582 GB, free: 4.645 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.6125, allocations: 174.5 kB / 0.5583 GB, free: 4.473 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.6126, allocations: 23.66 kB / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-06/0.6126, allocations: 0 / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.6128, allocations: 318.8 kB / 0.5586 GB, free: 4.129 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.515e-05/0.6129, allocations: 12 kB / 0.5587 GB, free: 4.117 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.613, allocations: 33.72 kB / 0.5587 GB, free: 4.078 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.6131, allocations: 23.98 kB / 0.5587 GB, free: 4.055 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6132, allocations: 0 / 0.5587 GB, free: 4.055 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003337/0.6135, allocations: 85.61 kB / 0.5588 GB, free: 3.965 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.6136, allocations: 4 kB / 0.5588 GB, free: 3.961 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.6136, allocations: 3.984 kB / 0.5588 GB, free: 3.957 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.6136, allocations: 4 kB / 0.5588 GB, free: 3.953 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.6139, allocations: 16 kB / 0.5588 GB, free: 3.938 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.6139, allocations: 0 / 0.5588 GB, free: 3.938 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.6141, allocations: 4 kB / 0.5588 GB, free: 3.934 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.6141, allocations: 15.97 kB / 0.5588 GB, free: 3.918 MB / 395.1 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 () * 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.00014/0.6143, allocations: 101 kB / 0.5589 GB, free: 3.812 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003702/0.6147, allocations: 97.44 kB / 0.559 GB, free: 3.711 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.32e-05/0.6148, allocations: 15.81 kB / 0.559 GB, free: 3.695 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.6153, allocations: 119.4 kB / 0.5592 GB, free: 3.574 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.6153, allocations: 0 / 0.5592 GB, free: 3.574 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.6153, allocations: 7.938 kB / 0.5592 GB, free: 3.566 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.6154, allocations: 288 / 0.5592 GB, free: 3.566 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.6165, allocations: 403.9 kB / 0.5596 GB, free: 3.125 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.6165, allocations: 3.938 kB / 0.5596 GB, free: 3.121 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.6167, allocations: 11.94 kB / 0.5596 GB, free: 3.109 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.6167, allocations: 0 / 0.5596 GB, free: 3.109 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.6167, allocations: 11.97 kB / 0.5596 GB, free: 3.098 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/0.6167, allocations: 4.266 kB / 0.5596 GB, free: 3.094 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6168, allocations: 0 / 0.5596 GB, free: 3.094 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.6173, allocations: 221.9 kB / 0.5598 GB, free: 2.852 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.6175, allocations: 100.9 kB / 0.5599 GB, free: 2.734 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.6176, allocations: 3.953 kB / 0.5599 GB, free: 2.73 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.6178, allocations: 4 kB / 0.5599 GB, free: 2.727 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.793e-05/0.6179, allocations: 15.92 kB / 0.5599 GB, free: 2.711 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.618, allocations: 0 / 0.5599 GB, free: 2.711 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000454/0.6184, allocations: 201.5 kB / 0.5601 GB, free: 2.516 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6184, allocations: 0 / 0.5601 GB, free: 2.516 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0007679/0.6192, allocations: 32 kB / 0.5601 GB, free: 2.484 MB / 395.1 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) * 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.002845/0.6221, allocations: 1.105 MB / 0.5612 GB, free: 1.398 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000326/0.6225, allocations: 55.92 kB / 0.5613 GB, free: 1.344 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.6225, allocations: 4.062 kB / 0.5613 GB, free: 1.34 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.6227, allocations: 31.92 kB / 0.5613 GB, free: 1.309 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006791/0.6234, allocations: 27.44 kB / 0.5613 GB, free: 1.285 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.625, allocations: 333 kB / 0.5616 GB, free: 0.9141 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.6256, allocations: 0.7275 MB / 0.5624 GB, free: 164 kB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.6259, allocations: 47.42 kB / 0.5624 GB, free: 116 kB / 395.1 MB Notification: Performance of SimCode: time 1.533e-06/0.6259, allocations: 0 / 0.5624 GB, free: 116 kB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.661/3.287, allocations: 2.928 MB / 0.5653 GB, free: 13.19 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat