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.001423/0.001423, allocations: 177.8 kB / 8.363 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 1.972/1.972, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.00173/0.00173, allocations: 92.42 kB / 262.1 MB, free: 13.88 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.3709/0.3709, allocations: 43.5 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.661e-05/2.669e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5211/0.5212, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1684/0.6897, allocations: 86.95 MB / 0.5509 GB, free: 12.24 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.69, allocations: 83.44 kB / 0.551 GB, free: 12.16 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02703/0.7171, allocations: 5.771 MB / 0.5566 GB, free: 6.395 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.7171, allocations: 0 / 0.5566 GB, free: 6.395 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.7172, allocations: 4 kB / 0.5566 GB, free: 6.391 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006747/0.7179, allocations: 406.7 kB / 0.557 GB, free: 5.949 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.7179, allocations: 12.03 kB / 0.557 GB, free: 5.938 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.718, allocations: 11.81 kB / 0.557 GB, free: 5.926 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.7184, allocations: 223.5 kB / 0.5573 GB, free: 5.664 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.7185, allocations: 4 kB / 0.5573 GB, free: 5.66 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.7185, allocations: 4 kB / 0.5573 GB, free: 5.656 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001855/0.7187, allocations: 43.97 kB / 0.5573 GB, free: 5.613 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.7189, allocations: 65.66 kB / 0.5574 GB, free: 5.543 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.7189, allocations: 0 / 0.5574 GB, free: 5.543 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.7189, allocations: 3.984 kB / 0.5574 GB, free: 5.539 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.719, allocations: 0 / 0.5574 GB, free: 5.539 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.7196, allocations: 301.3 kB / 0.5577 GB, free: 5.207 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.7198, allocations: 82.61 kB / 0.5577 GB, free: 5.117 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.575e-05/0.7199, allocations: 28.86 kB / 0.5578 GB, free: 5.086 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.72, allocations: 0 / 0.5578 GB, free: 5.086 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.7202, allocations: 79.38 kB / 0.5578 GB, free: 4.996 MB / 395.1 MB Notification: Performance of pre-optimization done (n=8): time 2.375e-06/0.7202, allocations: 3.938 kB / 0.5578 GB, free: 4.992 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008334/0.7211, allocations: 201.3 kB / 0.558 GB, free: 4.789 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.7211, allocations: 55.41 kB / 0.5581 GB, free: 4.723 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.7214, allocations: 174.5 kB / 0.5583 GB, free: 4.539 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.7215, allocations: 25.7 kB / 0.5583 GB, free: 4.508 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.7216, allocations: 166.8 kB / 0.5584 GB, free: 4.34 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.7217, allocations: 31.55 kB / 0.5585 GB, free: 4.309 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-06/0.7217, allocations: 0 / 0.5585 GB, free: 4.309 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.7219, allocations: 322.8 kB / 0.5588 GB, free: 3.984 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-05/0.722, allocations: 20 kB / 0.5588 GB, free: 3.965 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.7221, allocations: 57.58 kB / 0.5589 GB, free: 3.902 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.7222, allocations: 31.98 kB / 0.5589 GB, free: 3.871 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7222, allocations: 0 / 0.5589 GB, free: 3.871 MB / 395.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003189/0.7226, allocations: 113.5 kB / 0.559 GB, free: 3.754 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.7226, allocations: 4 kB / 0.559 GB, free: 3.75 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.7226, allocations: 4 kB / 0.559 GB, free: 3.746 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.7226, allocations: 0 / 0.559 GB, free: 3.746 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.7229, allocations: 19.98 kB / 0.559 GB, free: 3.727 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.7229, allocations: 4.031 kB / 0.559 GB, free: 3.723 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.723, allocations: 4 kB / 0.559 GB, free: 3.719 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.7231, allocations: 11.95 kB / 0.559 GB, free: 3.707 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 (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.0001155/0.7232, allocations: 104.9 kB / 0.5591 GB, free: 3.598 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003131/0.7235, allocations: 125.6 kB / 0.5593 GB, free: 3.469 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.7236, allocations: 15.81 kB / 0.5593 GB, free: 3.453 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004542/0.724, allocations: 143.5 kB / 0.5594 GB, free: 3.309 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.724, allocations: 0 / 0.5594 GB, free: 3.309 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.7241, allocations: 11.94 kB / 0.5594 GB, free: 3.297 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.7241, allocations: 0 / 0.5594 GB, free: 3.297 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008073/0.7249, allocations: 427.8 kB / 0.5598 GB, free: 2.832 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.7249, allocations: 0 / 0.5598 GB, free: 2.832 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.7251, allocations: 19.98 kB / 0.5598 GB, free: 2.812 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.7251, allocations: 0 / 0.5598 GB, free: 2.812 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.7251, allocations: 4 kB / 0.5599 GB, free: 2.809 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.7251, allocations: 3.953 kB / 0.5599 GB, free: 2.805 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7252, allocations: 4.031 kB / 0.5599 GB, free: 2.801 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004249/0.7256, allocations: 250.8 kB / 0.5601 GB, free: 2.531 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.7257, allocations: 96.91 kB / 0.5602 GB, free: 2.418 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.7258, allocations: 7.953 kB / 0.5602 GB, free: 2.41 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.7259, allocations: 0 / 0.5602 GB, free: 2.41 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.726, allocations: 11.98 kB / 0.5602 GB, free: 2.398 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.726, allocations: 8 kB / 0.5602 GB, free: 2.391 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002024/0.7262, allocations: 140.9 kB / 0.5604 GB, free: 2.254 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7263, allocations: 0 / 0.5604 GB, free: 2.254 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000461/0.7267, allocations: 31.94 kB / 0.5604 GB, free: 2.223 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 (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.001965/0.7287, allocations: 1.153 MB / 0.5615 GB, free: 1.09 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000307/0.7291, allocations: 83.86 kB / 0.5616 GB, free: 1.008 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7291, allocations: 0 / 0.5616 GB, free: 1.008 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.7292, allocations: 43.94 kB / 0.5616 GB, free: 0.9648 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.7297, allocations: 27.83 kB / 0.5617 GB, free: 0.9375 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009137/0.7306, allocations: 265.7 kB / 0.5619 GB, free: 0.6367 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.7311, allocations: 0.7237 MB / 0.5626 GB, free: 15.89 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.7313, allocations: 35.42 kB / 0.5627 GB, free: 15.85 MB / 411.1 MB Notification: Performance of SimCode: time 1.764e-06/0.7313, allocations: 0 / 0.5627 GB, free: 15.85 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.817/3.548, allocations: 2.746 MB / 0.5653 GB, free: 13.12 MB / 411.1 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