Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test72",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.001551/0.001551, allocations: 177.5 kB / 8.362 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.037/2.037, 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.001618/0.001618, allocations: 83.64 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.2956/0.2956, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.491e-05, allocations: 8.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4145, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/0.579, allocations: 86.82 MB / 0.5508 GB, free: 12.38 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.5794, allocations: 71.97 kB / 0.5509 GB, free: 12.31 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02799/0.6074, allocations: 6.443 MB / 0.5571 GB, free: 5.871 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6074, allocations: 3.938 kB / 0.5572 GB, free: 5.867 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.198e-05/0.6075, allocations: 4 kB / 0.5572 GB, free: 5.863 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.0009989/0.6085, allocations: 0.5916 MB / 0.5577 GB, free: 5.227 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.6086, allocations: 12.03 kB / 0.5577 GB, free: 5.215 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.6087, allocations: 55.28 kB / 0.5578 GB, free: 5.16 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.61, allocations: 495 kB / 0.5583 GB, free: 4.637 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.6101, allocations: 0 / 0.5583 GB, free: 4.637 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.6101, allocations: 4 kB / 0.5583 GB, free: 4.633 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001293/0.6103, allocations: 27.98 kB / 0.5583 GB, free: 4.605 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.6105, allocations: 75.38 kB / 0.5584 GB, free: 4.52 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.6105, allocations: 7.875 kB / 0.5584 GB, free: 4.512 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.6105, allocations: 4 kB / 0.5584 GB, free: 4.508 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.6105, allocations: 0 / 0.5584 GB, free: 4.508 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.6111, allocations: 362.8 kB / 0.5587 GB, free: 4.113 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.6114, allocations: 89.34 kB / 0.5588 GB, free: 4.008 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.957e-05/0.6115, allocations: 33.72 kB / 0.5588 GB, free: 3.969 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.6115, allocations: 8.031 kB / 0.5589 GB, free: 3.961 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.6118, allocations: 109.1 kB / 0.559 GB, free: 3.836 MB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 2.295e-06/0.6118, allocations: 0 / 0.559 GB, free: 3.836 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005181/0.6123, allocations: 160.9 kB / 0.5591 GB, free: 3.672 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.6124, allocations: 81.11 kB / 0.5592 GB, free: 3.574 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.6145, allocations: 0.9084 MB / 0.5601 GB, free: 2.66 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.6146, allocations: 25.7 kB / 0.5601 GB, free: 2.629 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.6148, allocations: 242.6 kB / 0.5603 GB, free: 2.391 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.634e-05/0.6149, allocations: 31.69 kB / 0.5604 GB, free: 2.359 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.615, allocations: 0 / 0.5604 GB, free: 2.359 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6151, allocations: 318.8 kB / 0.5607 GB, free: 2.039 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.648e-05/0.6152, allocations: 20 kB / 0.5607 GB, free: 2.02 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.6153, allocations: 59.42 kB / 0.5607 GB, free: 1.949 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.6154, allocations: 23.98 kB / 0.5608 GB, free: 1.926 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6154, allocations: 3.938 kB / 0.5608 GB, free: 1.922 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003137/0.6158, allocations: 117.6 kB / 0.5609 GB, free: 1.801 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.6158, allocations: 4 kB / 0.5609 GB, free: 1.797 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6158, allocations: 0 / 0.5609 GB, free: 1.797 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.6159, allocations: 4 kB / 0.5609 GB, free: 1.793 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.6161, allocations: 19.98 kB / 0.5609 GB, free: 1.773 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.6161, allocations: 8.062 kB / 0.5609 GB, free: 1.766 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.6164, allocations: 11.92 kB / 0.5609 GB, free: 1.754 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.6164, allocations: 8 kB / 0.5609 GB, free: 1.746 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000131/0.6166, allocations: 116.7 kB / 0.561 GB, free: 1.625 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005162/0.6171, allocations: 165 kB / 0.5612 GB, free: 1.457 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.6172, allocations: 51.34 kB / 0.5613 GB, free: 1.406 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005708/0.6178, allocations: 189.8 kB / 0.5614 GB, free: 1.211 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.6179, allocations: 8 kB / 0.5614 GB, free: 1.203 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6179, allocations: 0 / 0.5614 GB, free: 1.203 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.6179, allocations: 3.984 kB / 0.5614 GB, free: 1.199 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005355/0.6184, allocations: 361.8 kB / 0.5618 GB, free: 0.8086 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.6185, allocations: 4 kB / 0.5618 GB, free: 0.8047 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.6186, allocations: 16.3 kB / 0.5618 GB, free: 0.7891 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.6186, allocations: 0 / 0.5618 GB, free: 0.7891 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.6186, allocations: 4 kB / 0.5618 GB, free: 0.7852 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.6186, allocations: 4 kB / 0.5618 GB, free: 0.7812 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.6187, allocations: 0 / 0.5618 GB, free: 0.7812 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000476/0.6191, allocations: 218.9 kB / 0.562 GB, free: 0.5391 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004265/0.6196, allocations: 196.3 kB / 0.5622 GB, free: 336 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.105e-05/0.6197, allocations: 4 kB / 0.5622 GB, free: 332 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.6199, allocations: 11.98 kB / 0.5622 GB, free: 320 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.62, allocations: 7.984 kB / 0.5622 GB, free: 312 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.62, allocations: 8 kB / 0.5622 GB, free: 304 kB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001455/0.6215, allocations: 0.7175 MB / 0.5629 GB, free: 15.58 MB / 411.1 MB Notification: Performance of sort global known variables: time 2.956e-06/0.6215, allocations: 0 / 0.5629 GB, free: 15.58 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005416/0.622, allocations: 83.94 kB / 0.563 GB, free: 15.5 MB / 411.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001866/0.6239, allocations: 1.064 MB / 0.5641 GB, free: 14.45 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.6242, allocations: 71.92 kB / 0.5641 GB, free: 14.38 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6243, allocations: 0 / 0.5641 GB, free: 14.38 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.6244, allocations: 47.92 kB / 0.5642 GB, free: 14.33 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006765/0.6251, allocations: 65.2 kB / 0.5642 GB, free: 14.27 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.6277, allocations: 0.9416 MB / 0.5652 GB, free: 13.28 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/0.6284, allocations: 0.8508 MB / 0.566 GB, free: 12.4 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004632/0.6289, allocations: 167.3 kB / 0.5661 GB, free: 12.24 MB / 411.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6289, allocations: 0 / 0.5661 GB, free: 12.24 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.88/3.509, allocations: 8.236 MB / 0.5742 GB, free: 3.996 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat