Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",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.001754/0.001754, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009338/0.0009337, allocations: 80.36 kB / 267 MB, free: 9.285 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.4327/0.4327, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.847e-05, allocations: 4 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1681, allocations: 58.85 MB / 484.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5433/0.7115, allocations: 88.6 MB / 0.5594 GB, free: 15.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.7118, allocations: 71.33 kB / 0.5595 GB, free: 15.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0115/0.7233, allocations: 4.218 MB / 0.5636 GB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.7233, allocations: 3.938 kB / 0.5636 GB, free: 13.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.7233, allocations: 8 kB / 0.5636 GB, free: 13.2 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005027/0.7239, allocations: 457.5 kB / 0.5641 GB, free: 12.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.7239, allocations: 8.031 kB / 0.5641 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.937e-05/0.724, allocations: 44.08 kB / 0.5641 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.7241, allocations: 19.25 kB / 0.5641 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.7244, allocations: 227.6 kB / 0.5644 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.7244, allocations: 4.734 kB / 0.5644 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.7244, allocations: 8 kB / 0.5644 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.7246, allocations: 106.4 kB / 0.5645 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.7246, allocations: 1.359 kB / 0.5645 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.7247, allocations: 4.5 kB / 0.5645 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.7247, allocations: 8 kB / 0.5645 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.483e-05/0.7248, allocations: 32.06 kB / 0.5645 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/0.7253, allocations: 0.5211 MB / 0.565 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.7255, allocations: 81.12 kB / 0.5651 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.7256, allocations: 31.33 kB / 0.5651 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.7256, allocations: 3.984 kB / 0.5651 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.7258, allocations: 84.97 kB / 0.5652 GB, free: 11.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.7258, allocations: 0 / 0.5652 GB, free: 11.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002141/0.726, allocations: 111 kB / 0.5653 GB, free: 11.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.726, allocations: 52.86 kB / 0.5654 GB, free: 11.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.7262, allocations: 166.8 kB / 0.5655 GB, free: 11.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.7262, allocations: 33.2 kB / 0.5656 GB, free: 11.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.7262, allocations: 117.1 kB / 0.5657 GB, free: 11.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.7263, allocations: 29.75 kB / 0.5657 GB, free: 11.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-06/0.7263, allocations: 7.438 kB / 0.5657 GB, free: 11.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.7263, allocations: 330.8 kB / 0.566 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.21e-05/0.7264, allocations: 18.94 kB / 0.566 GB, free: 10.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.185e-05/0.7264, allocations: 63.78 kB / 0.5661 GB, free: 10.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.304e-05/0.7265, allocations: 31.17 kB / 0.5661 GB, free: 10.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.7265, allocations: 4 kB / 0.5661 GB, free: 10.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000161/0.7267, allocations: 123.7 kB / 0.5663 GB, free: 10.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.7267, allocations: 4 kB / 0.5663 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.7267, allocations: 3.953 kB / 0.5663 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.7267, allocations: 4 kB / 0.5663 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.7268, allocations: 28.67 kB / 0.5663 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.7268, allocations: 4 kB / 0.5663 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.03e-05/0.7269, allocations: 21.31 kB / 0.5663 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.7269, allocations: 4 kB / 0.5663 GB, free: 10.61 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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 4.876e-05/0.727, allocations: 110.3 kB / 0.5664 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.727, allocations: 15.81 kB / 0.5664 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.7272, allocations: 115.2 kB / 0.5666 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7272, allocations: 7.953 kB / 0.5666 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7272, allocations: 288 / 0.5666 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.7272, allocations: 0 / 0.5666 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.7274, allocations: 210.1 kB / 0.5668 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7274, allocations: 7.938 kB / 0.5668 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.879e-05/0.7275, allocations: 17.58 kB / 0.5668 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.7275, allocations: 4 kB / 0.5668 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.7275, allocations: 1.547 kB / 0.5668 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7275, allocations: 0 / 0.5668 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7275, allocations: 3.953 kB / 0.5668 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.7278, allocations: 173.5 kB / 0.567 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.7278, allocations: 98.48 kB / 0.5671 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.7279, allocations: 1.5 kB / 0.5671 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.278e-05/0.728, allocations: 14.23 kB / 0.5671 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.728, allocations: 11.94 kB / 0.5671 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.728, allocations: 3.938 kB / 0.5671 GB, free: 9.867 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.7281, allocations: 143.9 kB / 0.5672 GB, free: 9.746 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7282, allocations: 4 kB / 0.5672 GB, free: 9.742 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002269/0.7284, allocations: 31.94 kB / 0.5673 GB, free: 9.715 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001233/0.7296, allocations: 0.9944 MB / 0.5682 GB, free: 8.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.7298, allocations: 67.05 kB / 0.5683 GB, free: 8.762 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.7299, allocations: 0 / 0.5683 GB, free: 8.762 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.677e-05/0.7299, allocations: 31.44 kB / 0.5683 GB, free: 8.738 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.7302, allocations: 37.23 kB / 0.5684 GB, free: 8.707 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006414/0.7309, allocations: 255.8 kB / 0.5686 GB, free: 8.457 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.7312, allocations: 0.7126 MB / 0.5693 GB, free: 7.719 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.169e-05/0.7313, allocations: 29.19 kB / 0.5693 GB, free: 7.691 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.344e-05/0.7313, allocations: 42.98 kB / 0.5694 GB, free: 7.672 MB / 394.7 MB Notification: Performance of SimCode: time 8.61e-07/0.7314, allocations: 0 / 0.5694 GB, free: 7.672 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.7493, allocations: 3.295 MB / 0.5726 GB, free: 4.406 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.7496, allocations: 183.7 kB / 0.5728 GB, free: 4.184 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.513, allocations: 0 / 0.5728 GB, free: 4.184 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat does not exist to compare? outputFormat=mat