Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001261/0.001261, allocations: 185.2 kB / 19.38 MB, free: 3.723 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.287/1.287, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2045/0.2045, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.91 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3687, allocations: 60.82 MB / 0.5196 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002933/0.3717, allocations: 1.711 MB / 0.5213 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.373, allocations: 0.8797 MB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.3731, allocations: 3.938 kB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.3734, allocations: 31.55 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.3737, allocations: 56.44 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.374, allocations: 109.7 kB / 0.5224 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.3742, allocations: 95.97 kB / 0.5225 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3743, allocations: 16.41 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.57e-05/0.3744, allocations: 40.91 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.017e-05/0.3745, allocations: 30.7 kB / 0.5225 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.3745, allocations: 3.344 kB / 0.5225 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.3746, allocations: 45.78 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.3747, allocations: 17.78 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.3747, allocations: 30.17 kB / 0.5226 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.375, allocations: 108.9 kB / 0.5227 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.375, allocations: 4 kB / 0.5227 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.375, allocations: 5.094 kB / 0.5227 GB, free: 1.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.375, allocations: 0 / 0.5227 GB, free: 1.551 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.0005101/0.3755, allocations: 407.1 kB / 0.5231 GB, free: 1.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3756, allocations: 10.45 kB / 0.5231 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.543e-05/0.3756, allocations: 9.406 kB / 0.5231 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.3758, allocations: 208.8 kB / 0.5233 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3759, allocations: 2.594 kB / 0.5234 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.3759, allocations: 15.11 kB / 0.5234 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.376, allocations: 48.86 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3761, allocations: 1.156 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3761, allocations: 8.688 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3761, allocations: 1.125 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.466e-05/0.3762, allocations: 18.53 kB / 0.5234 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.3765, allocations: 281.4 kB / 0.5237 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.3767, allocations: 56.25 kB / 0.5238 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.3767, allocations: 24.03 kB / 0.5238 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3768, allocations: 1.219 kB / 0.5238 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.3769, allocations: 65.89 kB / 0.5238 GB, free: 492 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3769, allocations: 3.938 kB / 0.5239 GB, free: 488 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000544/0.3775, allocations: 180 kB / 0.524 GB, free: 392 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.3775, allocations: 57.23 kB / 0.5241 GB, free: 324 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.3777, allocations: 169.7 kB / 0.5242 GB, free: 200 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.3777, allocations: 25.7 kB / 0.5243 GB, free: 168 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.3778, allocations: 99.25 kB / 0.5244 GB, free: 72 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.3778, allocations: 26.11 kB / 0.5244 GB, free: 52 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.3778, allocations: 22.11 kB / 0.5244 GB, free: 32 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.378, allocations: 333.8 kB / 0.5247 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.3781, allocations: 21.62 kB / 0.5247 GB, free: 15.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.3781, allocations: 35.67 kB / 0.5248 GB, free: 15.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.3783, allocations: 65.5 kB / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3783, allocations: 0 / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001909/0.3785, allocations: 101.2 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3785, allocations: 9.812 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3785, allocations: 0 / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3785, allocations: 1.922 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.3786, allocations: 16.09 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3786, allocations: 1.125 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.3787, allocations: 14.91 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3787, allocations: 3.156 kB / 0.525 GB, free: 15.55 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.0001122/0.3788, allocations: 127 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.3788, allocations: 9.484 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.388e-05/0.3789, allocations: 17.95 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.3789, allocations: 5.094 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3789, allocations: 1.547 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3789, allocations: 4.734 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004864/0.3794, allocations: 388.2 kB / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3794, allocations: 4.641 kB / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.3795, allocations: 8.297 kB / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3795, allocations: 1.438 kB / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3795, allocations: 10.2 kB / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3795, allocations: 2.062 kB / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3795, allocations: 1.562 kB / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.3798, allocations: 199.4 kB / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.3798, allocations: 85.53 kB / 0.5258 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.3799, allocations: 10 kB / 0.5258 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.3799, allocations: 7.094 kB / 0.5258 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.38, allocations: 13.72 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.38, allocations: 4.875 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.3801, allocations: 133.8 kB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.3801, allocations: 0 / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.3804, allocations: 25.55 kB / 0.526 GB, free: 14.67 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.001101/0.3815, allocations: 461.1 kB / 0.5264 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.3817, allocations: 60.09 kB / 0.5265 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3817, allocations: 0 / 0.5265 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.28e-05/0.3818, allocations: 29.83 kB / 0.5265 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.3822, allocations: 28.81 kB / 0.5265 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004649/0.3826, allocations: 240.1 kB / 0.5268 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.3829, allocations: 0.6985 MB / 0.5275 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.383, allocations: 19.77 kB / 0.5275 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.383, allocations: 1.375 kB / 0.5275 GB, free: 13.52 MB / 398.1 MB Notification: Performance of Templates: time 0.004069/0.387, allocations: 1.883 MB / 0.5293 GB, free: 12.89 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches