Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001714, allocations: 180.8 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.676/1.676, allocations: 221.4 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 98.84 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2126/0.2126, allocations: 44.16 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.832e-05/4.835e-05, allocations: 8.219 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1448, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4584/0.6033, allocations: 90.94 MB / 0.5906 GB, free: 14.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.6036, allocations: 71.97 kB / 0.5907 GB, free: 14.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01539/0.619, allocations: 4.988 MB / 0.5955 GB, free: 9.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.619, allocations: 0 / 0.5955 GB, free: 9.273 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.6191, allocations: 4 kB / 0.5956 GB, free: 9.27 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009691/0.62, allocations: 0.5327 MB / 0.5961 GB, free: 8.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.433e-05/0.6201, allocations: 15.97 kB / 0.5961 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.415e-05/0.6202, allocations: 38.5 kB / 0.5961 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.447e-05/0.6203, allocations: 27.7 kB / 0.5962 GB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.6208, allocations: 239.7 kB / 0.5964 GB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.6208, allocations: 11.95 kB / 0.5964 GB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.6209, allocations: 12 kB / 0.5964 GB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.6212, allocations: 118.3 kB / 0.5965 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.6212, allocations: 0 / 0.5965 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.6212, allocations: 4 kB / 0.5965 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.6213, allocations: 7.984 kB / 0.5965 GB, free: 8.148 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.6214, allocations: 59.92 kB / 0.5966 GB, free: 8.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000895/0.6223, allocations: 0.5829 MB / 0.5972 GB, free: 7.449 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.6226, allocations: 106.6 kB / 0.5973 GB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.736e-05/0.6227, allocations: 40.86 kB / 0.5973 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.6228, allocations: 0 / 0.5973 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.623, allocations: 107.3 kB / 0.5974 GB, free: 7.176 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.623, allocations: 192 / 0.5974 GB, free: 7.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003319/0.6234, allocations: 143.8 kB / 0.5975 GB, free: 7.031 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.6234, allocations: 55.41 kB / 0.5976 GB, free: 6.965 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.6237, allocations: 206.2 kB / 0.5978 GB, free: 6.758 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.6237, allocations: 29.7 kB / 0.5978 GB, free: 6.723 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/0.6238, allocations: 128.2 kB / 0.5979 GB, free: 6.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.6239, allocations: 39.55 kB / 0.598 GB, free: 6.551 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.6239, allocations: 4 kB / 0.598 GB, free: 6.547 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.624, allocations: 326.8 kB / 0.5983 GB, free: 6.219 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.25e-05/0.6241, allocations: 36 kB / 0.5983 GB, free: 6.184 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.6242, allocations: 74.34 kB / 0.5984 GB, free: 6.098 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.6243, allocations: 71.12 kB / 0.5985 GB, free: 6.023 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6244, allocations: 4 kB / 0.5985 GB, free: 6.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003284/0.6247, allocations: 195 kB / 0.5987 GB, free: 5.816 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.6248, allocations: 34.95 kB / 0.5987 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6248, allocations: 0 / 0.5987 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.6248, allocations: 3.984 kB / 0.5987 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.625, allocations: 52.03 kB / 0.5987 GB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.625, allocations: 7.953 kB / 0.5987 GB, free: 5.715 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.6253, allocations: 27.88 kB / 0.5988 GB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.6253, allocations: 15.94 kB / 0.5988 GB, free: 5.672 MB / 410.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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001093/0.6254, allocations: 120.9 kB / 0.5989 GB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.6255, allocations: 15.81 kB / 0.5989 GB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.6258, allocations: 154.9 kB / 0.5991 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.6258, allocations: 7.938 kB / 0.5991 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.6258, allocations: 0 / 0.5991 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.6258, allocations: 3.953 kB / 0.5991 GB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.6261, allocations: 237.5 kB / 0.5993 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6261, allocations: 0 / 0.5993 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.6263, allocations: 39.91 kB / 0.5993 GB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.6263, allocations: 0 / 0.5993 GB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.6263, allocations: 8 kB / 0.5993 GB, free: 5.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.6263, allocations: 0 / 0.5993 GB, free: 5.035 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6263, allocations: 0 / 0.5993 GB, free: 5.035 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.6267, allocations: 228.8 kB / 0.5996 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/0.6268, allocations: 96.94 kB / 0.5997 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.6269, allocations: 4.062 kB / 0.5997 GB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.6271, allocations: 31.97 kB / 0.5997 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.6271, allocations: 19.97 kB / 0.5997 GB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.6272, allocations: 4 kB / 0.5997 GB, free: 4.621 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001689/0.6273, allocations: 164.6 kB / 0.5999 GB, free: 4.461 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6273, allocations: 0 / 0.5999 GB, free: 4.461 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002799/0.6276, allocations: 47.92 kB / 0.5999 GB, free: 4.414 MB / 410.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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001513/0.6292, allocations: 1.053 MB / 0.6009 GB, free: 3.438 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003047/0.6295, allocations: 155.3 kB / 0.6011 GB, free: 3.273 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6295, allocations: 0 / 0.6011 GB, free: 3.273 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.6296, allocations: 60.23 kB / 0.6012 GB, free: 3.215 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.6299, allocations: 35.97 kB / 0.6012 GB, free: 3.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007804/0.6307, allocations: 298.3 kB / 0.6015 GB, free: 2.852 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.6311, allocations: 0.7322 MB / 0.6022 GB, free: 2.094 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.6312, allocations: 25.3 kB / 0.6022 GB, free: 2.066 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.6313, allocations: 51.42 kB / 0.6023 GB, free: 2.016 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6313, allocations: 0 / 0.6023 GB, free: 2.016 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.6499, allocations: 4.358 MB / 0.6065 GB, free: 13.75 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.6502, allocations: 188.1 kB / 0.6067 GB, free: 13.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.507, allocations: 0 / 0.6067 GB, free: 13.52 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat