Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",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.00153/0.001531, allocations: 109.5 kB / 17.78 MB, free: 5.309 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.001708/0.001708, allocations: 188 kB / 18.71 MB, free: 4.387 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.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.198/0.198, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001473, allocations: 67.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3696, allocations: 60.83 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003153/0.3728, allocations: 1.697 MB / 0.5202 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.3749, allocations: 1.494 MB / 0.5216 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.486e-05/0.375, allocations: 0 / 0.5216 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.3753, allocations: 39.83 kB / 0.5217 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.3756, allocations: 57.17 kB / 0.5217 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.3759, allocations: 108.9 kB / 0.5218 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.3761, allocations: 96.41 kB / 0.5219 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3762, allocations: 15.84 kB / 0.5219 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.737e-05/0.3763, allocations: 41.73 kB / 0.522 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.3765, allocations: 39.53 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.3765, allocations: 4.812 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.3767, allocations: 61.98 kB / 0.5221 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.3767, allocations: 19.41 kB / 0.5221 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.3768, allocations: 30.03 kB / 0.5221 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.377, allocations: 120.3 kB / 0.5222 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3771, allocations: 0 / 0.5222 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3771, allocations: 7.938 kB / 0.5222 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.3771, allocations: 1.125 kB / 0.5222 GB, free: 0.7617 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.0005413/0.3776, allocations: 404.8 kB / 0.5226 GB, free: 368 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3777, allocations: 9.406 kB / 0.5226 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.3777, allocations: 37.11 kB / 0.5227 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.3778, allocations: 9.406 kB / 0.5227 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.378, allocations: 206.8 kB / 0.5229 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.378, allocations: 1.781 kB / 0.5229 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.3781, allocations: 5.906 kB / 0.5229 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.3782, allocations: 82.55 kB / 0.523 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3783, allocations: 1.188 kB / 0.523 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3783, allocations: 0 / 0.523 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.3783, allocations: 1.781 kB / 0.523 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.545e-05/0.3784, allocations: 21.94 kB / 0.523 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.3788, allocations: 284.2 kB / 0.5233 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.379, allocations: 56.56 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.379, allocations: 24.27 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.3791, allocations: 0 / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.3792, allocations: 71.16 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.046e-06/0.3792, allocations: 4 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005759/0.3798, allocations: 167.4 kB / 0.5236 GB, free: 15.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.3799, allocations: 79.03 kB / 0.5236 GB, free: 15.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.3801, allocations: 153.8 kB / 0.5238 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.3801, allocations: 31.45 kB / 0.5238 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.3801, allocations: 93.45 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.3802, allocations: 25.47 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.3802, allocations: 22.33 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3804, allocations: 325.2 kB / 0.5243 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.04e-05/0.3804, allocations: 23.25 kB / 0.5243 GB, free: 14.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.528e-05/0.3805, allocations: 39.64 kB / 0.5243 GB, free: 14.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.3806, allocations: 69.67 kB / 0.5244 GB, free: 14.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3807, allocations: 0 / 0.5244 GB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001803/0.3808, allocations: 100.6 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3809, allocations: 6.5 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3809, allocations: 1.156 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3809, allocations: 1.031 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-05/0.381, allocations: 16.17 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.381, allocations: 0.5156 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.231e-05/0.3811, allocations: 16 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.3811, allocations: 2.359 kB / 0.5245 GB, free: 14.68 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 9.686e-05/0.3812, allocations: 121.1 kB / 0.5246 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.3812, allocations: 14.44 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.3812, allocations: 12.81 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3813, allocations: 1.5 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3813, allocations: 0.5625 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3813, allocations: 8.578 kB / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.3817, allocations: 388.3 kB / 0.525 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3817, allocations: 1.891 kB / 0.525 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.3818, allocations: 17.23 kB / 0.5251 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3818, allocations: 7.969 kB / 0.5251 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3818, allocations: 2.609 kB / 0.5251 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3818, allocations: 1.75 kB / 0.5251 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3818, allocations: 0.5156 kB / 0.5251 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.3821, allocations: 200.1 kB / 0.5253 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.3821, allocations: 80.69 kB / 0.5253 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.3821, allocations: 6.406 kB / 0.5254 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.3822, allocations: 11.45 kB / 0.5254 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.3823, allocations: 6.531 kB / 0.5254 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3823, allocations: 7.172 kB / 0.5254 GB, free: 13.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.122e-05/0.3824, allocations: 116 kB / 0.5255 GB, free: 13.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3824, allocations: 0 / 0.5255 GB, free: 13.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.3827, allocations: 35.47 kB / 0.5255 GB, free: 13.8 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.001731/0.3844, allocations: 1.133 MB / 0.5266 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.3846, allocations: 55.72 kB / 0.5267 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3847, allocations: 1.156 kB / 0.5267 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.098e-05/0.3848, allocations: 31.44 kB / 0.5267 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.3851, allocations: 29.7 kB / 0.5267 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.387, allocations: 1.551 MB / 0.5283 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.3874, allocations: 0.6971 MB / 0.5289 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.3876, allocations: 30 kB / 0.529 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.014e-05/0.3876, allocations: 34.03 kB / 0.529 GB, free: 10.87 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3877, allocations: 0 / 0.529 GB, free: 10.87 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.4096, allocations: 3.588 MB / 0.5325 GB, free: 9.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.42/7.83, allocations: 16.53 kB / 0.5325 GB, free: 9.199 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time