Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 183.1 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2561/0.2561, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001463, allocations: 67.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4482, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003743/0.452, allocations: 1.702 MB / 0.5202 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.454, allocations: 0.8704 MB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.454, allocations: 9.312 kB / 0.521 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.4543, allocations: 79.02 kB / 0.5211 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.4546, allocations: 78.73 kB / 0.5212 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.4549, allocations: 113.2 kB / 0.5213 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.4551, allocations: 103.2 kB / 0.5214 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.4552, allocations: 16 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.4553, allocations: 54.53 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.4554, allocations: 55.02 kB / 0.5215 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.4555, allocations: 3.375 kB / 0.5215 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.4556, allocations: 37.72 kB / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.667e-05/0.4556, allocations: 29.12 kB / 0.5216 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.4557, allocations: 32.83 kB / 0.5216 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.456, allocations: 121 kB / 0.5217 GB, free: 1.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.456, allocations: 5.062 kB / 0.5217 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.456, allocations: 0 / 0.5217 GB, free: 1.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.456, allocations: 4.75 kB / 0.5217 GB, free: 1.199 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005685/0.4566, allocations: 421.4 kB / 0.5221 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.4566, allocations: 9.844 kB / 0.5221 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.4567, allocations: 33.05 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.4567, allocations: 10.19 kB / 0.5222 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.4571, allocations: 215.4 kB / 0.5224 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.4571, allocations: 2.422 kB / 0.5224 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.4572, allocations: 6.375 kB / 0.5224 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.4574, allocations: 65.88 kB / 0.5225 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.4574, allocations: 1.344 kB / 0.5225 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.4574, allocations: 0 / 0.5225 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.4574, allocations: 5 kB / 0.5225 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.993e-05/0.4575, allocations: 23.06 kB / 0.5225 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.4579, allocations: 283.6 kB / 0.5228 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.4581, allocations: 63.88 kB / 0.5228 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.46e-05/0.4582, allocations: 25.02 kB / 0.5228 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.4583, allocations: 1.094 kB / 0.5228 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.4584, allocations: 65.61 kB / 0.5229 GB, free: 56 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4585, allocations: 0 / 0.5229 GB, free: 56 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006928/0.4592, allocations: 173.4 kB / 0.5231 GB, free: 15.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.4592, allocations: 57.27 kB / 0.5231 GB, free: 15.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.4595, allocations: 214.2 kB / 0.5233 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.4595, allocations: 31.47 kB / 0.5234 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.4596, allocations: 105 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.4596, allocations: 21.08 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.4597, allocations: 26.5 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4598, allocations: 322.8 kB / 0.5238 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.544e-05/0.4599, allocations: 22.3 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.041e-05/0.46, allocations: 43.28 kB / 0.5239 GB, free: 15.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.4601, allocations: 57.34 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4601, allocations: 0 / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002115/0.4603, allocations: 101.8 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4603, allocations: 6.125 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4604, allocations: 1.188 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.4604, allocations: 4.031 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.4605, allocations: 17.17 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.4605, allocations: 0 / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.4605, allocations: 7.734 kB / 0.5241 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.4606, allocations: 3.344 kB / 0.5241 GB, free: 15.14 MB / 398.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.4607, allocations: 138.6 kB / 0.5242 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.4607, allocations: 13.22 kB / 0.5242 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/0.4608, allocations: 17.42 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4608, allocations: 1.781 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4608, allocations: 4 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4608, allocations: 5.875 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.4613, allocations: 396.1 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.4613, allocations: 9.062 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.4614, allocations: 9.109 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.4614, allocations: 5 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.4614, allocations: 6.203 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4614, allocations: 1.094 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.4614, allocations: 9.984 kB / 0.5246 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.4617, allocations: 200.5 kB / 0.5248 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.4618, allocations: 84.77 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.4618, allocations: 10.94 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.704e-05/0.4619, allocations: 2.641 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.4619, allocations: 6.344 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.462, allocations: 6.75 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.4621, allocations: 161.3 kB / 0.5251 GB, free: 14.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4621, allocations: 0 / 0.5251 GB, free: 14.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.4624, allocations: 26.64 kB / 0.5251 GB, free: 14.22 MB / 398.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001665/0.4641, allocations: 1.099 MB / 0.5262 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.4643, allocations: 51.25 kB / 0.5262 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4643, allocations: 4 kB / 0.5263 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.775e-05/0.4644, allocations: 33.5 kB / 0.5263 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.4648, allocations: 36.34 kB / 0.5263 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.4671, allocations: 1.693 MB / 0.528 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.4674, allocations: 0.7091 MB / 0.5287 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.229e-05/0.4675, allocations: 16.03 kB / 0.5287 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.505e-05/0.4676, allocations: 39 kB / 0.5287 GB, free: 11.25 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4676, allocations: 1 kB / 0.5287 GB, free: 11.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.4915, allocations: 3.534 MB / 0.5322 GB, free: 9.672 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.551/8.043, allocations: 8.844 kB / 0.5322 GB, free: 9.664 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time