Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",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.001059/0.001059, allocations: 182.8 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.692/1.692, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009255/0.0009259, allocations: 90.59 kB / 267 MB, free: 9.273 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.4472/0.4472, allocations: 43.46 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.133e-05/3.146e-05, allocations: 4 kB / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1443, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.477/0.6214, allocations: 87.73 MB / 0.5586 GB, free: 16.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.6217, allocations: 70.3 kB / 0.5587 GB, free: 16.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02003/0.6418, allocations: 7.823 MB / 0.5663 GB, free: 11.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6418, allocations: 3.938 kB / 0.5663 GB, free: 11.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.6419, allocations: 4 kB / 0.5663 GB, free: 11.1 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007033/0.6426, allocations: 0.5027 MB / 0.5668 GB, free: 10.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.6426, allocations: 11.97 kB / 0.5668 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.619e-05/0.6427, allocations: 38.17 kB / 0.5668 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.709e-05/0.6427, allocations: 31.62 kB / 0.5669 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.6432, allocations: 293.7 kB / 0.5672 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.6432, allocations: 3.984 kB / 0.5672 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.6433, allocations: 6.812 kB / 0.5672 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.6435, allocations: 101.3 kB / 0.5673 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.6435, allocations: 4 kB / 0.5673 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.6435, allocations: 4 kB / 0.5673 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.6435, allocations: 0 / 0.5673 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.07e-05/0.6436, allocations: 45.3 kB / 0.5673 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.6442, allocations: 477.3 kB / 0.5678 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.6444, allocations: 111.9 kB / 0.5679 GB, free: 9.457 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.929e-05/0.6444, allocations: 36.28 kB / 0.5679 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.6444, allocations: 0 / 0.5679 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.6446, allocations: 125.7 kB / 0.568 GB, free: 9.297 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.6446, allocations: 0 / 0.568 GB, free: 9.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006599/0.6453, allocations: 347 kB / 0.5684 GB, free: 9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.6454, allocations: 77.11 kB / 0.5684 GB, free: 8.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/0.6458, allocations: 430.5 kB / 0.5688 GB, free: 8.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.6458, allocations: 33.62 kB / 0.5689 GB, free: 8.535 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.6459, allocations: 158.1 kB / 0.569 GB, free: 8.426 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.6459, allocations: 49.98 kB / 0.5691 GB, free: 8.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.646, allocations: 11.19 kB / 0.5691 GB, free: 8.375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.462e-05/0.646, allocations: 342.4 kB / 0.5694 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.014e-05/0.6461, allocations: 41.05 kB / 0.5695 GB, free: 8.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/0.6462, allocations: 70.19 kB / 0.5695 GB, free: 7.957 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.167e-05/0.6463, allocations: 53.2 kB / 0.5696 GB, free: 7.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.6463, allocations: 4 kB / 0.5696 GB, free: 7.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002169/0.6465, allocations: 169.5 kB / 0.5697 GB, free: 7.773 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.6465, allocations: 8 kB / 0.5697 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6465, allocations: 0 / 0.5697 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.6466, allocations: 11.98 kB / 0.5698 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.6467, allocations: 31.92 kB / 0.5698 GB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.6467, allocations: 4 kB / 0.5698 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.904e-05/0.6468, allocations: 7.312 kB / 0.5698 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.6468, allocations: 7.438 kB / 0.5698 GB, free: 7.711 MB / 394.7 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 7.286e-05/0.6469, allocations: 128 kB / 0.5699 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.647, allocations: 27.62 kB / 0.57 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.6473, allocations: 226 kB / 0.5702 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6473, allocations: 0 / 0.5702 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6473, allocations: 4 kB / 0.5702 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6473, allocations: 0 / 0.5702 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006485/0.648, allocations: 0.6935 MB / 0.5708 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.648, allocations: 3.938 kB / 0.5709 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.339e-05/0.6481, allocations: 23.92 kB / 0.5709 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.6481, allocations: 4 kB / 0.5709 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.6481, allocations: 7.438 kB / 0.5709 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.6481, allocations: 0 / 0.5709 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6481, allocations: 3.984 kB / 0.5709 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.6484, allocations: 415.2 kB / 0.5713 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-05/0.6485, allocations: 133.6 kB / 0.5714 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.6486, allocations: 7.328 kB / 0.5714 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.6487, allocations: 12 kB / 0.5714 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.6488, allocations: 23.89 kB / 0.5715 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.6488, allocations: 4 kB / 0.5715 GB, free: 6.082 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003909/0.6492, allocations: 349.5 kB / 0.5718 GB, free: 5.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6492, allocations: 0 / 0.5718 GB, free: 5.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003381/0.6496, allocations: 66.52 kB / 0.5719 GB, free: 5.762 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.001553/0.6511, allocations: 1.473 MB / 0.5733 GB, free: 4.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.6514, allocations: 116.6 kB / 0.5734 GB, free: 4.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6514, allocations: 3.938 kB / 0.5734 GB, free: 4.277 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.14e-05/0.6515, allocations: 58.72 kB / 0.5735 GB, free: 4.234 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.6519, allocations: 56.53 kB / 0.5735 GB, free: 4.195 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008701/0.6528, allocations: 0.531 MB / 0.574 GB, free: 3.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.6531, allocations: 0.7817 MB / 0.5748 GB, free: 2.879 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.6532, allocations: 37.03 kB / 0.5748 GB, free: 2.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.6534, allocations: 97.58 kB / 0.5749 GB, free: 2.809 MB / 394.7 MB Notification: Performance of SimCode: time 7.31e-07/0.6534, allocations: 4 kB / 0.5749 GB, free: 2.805 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.6714, allocations: 5.856 MB / 0.5806 GB, free: 12.98 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.6716, allocations: 191.6 kB / 0.5808 GB, free: 12.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/2.73, allocations: 0 / 0.5808 GB, free: 12.75 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat