Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 108.1 kB / 18.45 MB, free: 4.602 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.001344/0.001344, allocations: 180.2 kB / 19.38 MB, free: 3.684 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.358/1.358, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2084/0.2084, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3803, allocations: 60.83 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002864/0.3832, allocations: 1.622 MB / 0.5212 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3846, allocations: 1.035 MB / 0.5222 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.3847, allocations: 5.219 kB / 0.5222 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.3849, allocations: 26.98 kB / 0.5222 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.3851, allocations: 41.97 kB / 0.5223 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.3854, allocations: 124.2 kB / 0.5224 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.3856, allocations: 61.55 kB / 0.5224 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3857, allocations: 26.17 kB / 0.5225 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.3858, allocations: 24.38 kB / 0.5225 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.3859, allocations: 35.09 kB / 0.5225 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.3859, allocations: 4.031 kB / 0.5225 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3861, allocations: 43.81 kB / 0.5226 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.464e-05/0.3861, allocations: 19.98 kB / 0.5226 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.3862, allocations: 26.41 kB / 0.5226 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.3864, allocations: 93.47 kB / 0.5227 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3864, allocations: 0 / 0.5227 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3864, allocations: 5.094 kB / 0.5227 GB, free: 1.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.3864, allocations: 0 / 0.5227 GB, free: 1.484 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004165/0.3868, allocations: 384.4 kB / 0.5231 GB, free: 1.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3869, allocations: 9.188 kB / 0.5231 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.3869, allocations: 9.344 kB / 0.5231 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.3871, allocations: 191.9 kB / 0.5233 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.3871, allocations: 1.625 kB / 0.5233 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.3871, allocations: 6.75 kB / 0.5233 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.3873, allocations: 80.09 kB / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3873, allocations: 1.312 kB / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.3873, allocations: 0 / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.3873, allocations: 5.188 kB / 0.5234 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.3875, allocations: 32.84 kB / 0.5234 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.3878, allocations: 291.6 kB / 0.5237 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.3879, allocations: 48.59 kB / 0.5237 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.973e-05/0.388, allocations: 24.25 kB / 0.5237 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.388, allocations: 0 / 0.5237 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.3881, allocations: 33.22 kB / 0.5238 GB, free: 436 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.3881, allocations: 3.984 kB / 0.5238 GB, free: 432 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007492/0.3888, allocations: 197.6 kB / 0.524 GB, free: 356 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.3889, allocations: 84 kB / 0.524 GB, free: 256 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.389, allocations: 133.3 kB / 0.5242 GB, free: 140 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.389, allocations: 30.92 kB / 0.5242 GB, free: 104 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.051e-05/0.389, allocations: 96.97 kB / 0.5243 GB, free: 8 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.155e-05/0.3891, allocations: 25.5 kB / 0.5243 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.3891, allocations: 19.75 kB / 0.5243 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3893, allocations: 318.7 kB / 0.5246 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.3894, allocations: 30.62 kB / 0.5247 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.3895, allocations: 52.17 kB / 0.5247 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.3897, allocations: 75.31 kB / 0.5248 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3897, allocations: 1.031 kB / 0.5248 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003026/0.3901, allocations: 112.6 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3901, allocations: 9.625 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3901, allocations: 0.7031 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3901, allocations: 1.438 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3902, allocations: 18.3 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3902, allocations: 0.6562 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/0.3903, allocations: 14.47 kB / 0.5249 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.3903, allocations: 1.5 kB / 0.5249 GB, free: 15.53 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.487e-05/0.3904, allocations: 118.8 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.3905, allocations: 13.16 kB / 0.5251 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.3908, allocations: 117.4 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3908, allocations: 1.062 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3908, allocations: 0 / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3908, allocations: 5.797 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005579/0.3914, allocations: 393.6 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.3914, allocations: 1.219 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.514e-05/0.3915, allocations: 18.55 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3915, allocations: 0 / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3915, allocations: 6.125 kB / 0.5256 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3915, allocations: 0 / 0.5256 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3915, allocations: 1.375 kB / 0.5256 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.3919, allocations: 209.1 kB / 0.5258 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.3919, allocations: 79.31 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.3919, allocations: 9.125 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-05/0.392, allocations: 13.31 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.3921, allocations: 10.16 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.3921, allocations: 1.594 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.421e-05/0.3922, allocations: 116 kB / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3922, allocations: 0 / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3925, allocations: 25.39 kB / 0.526 GB, free: 14.63 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001004/0.3935, allocations: 438.3 kB / 0.5264 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003003/0.3938, allocations: 78.06 kB / 0.5265 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.3938, allocations: 0 / 0.5265 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.3939, allocations: 42 kB / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.3943, allocations: 24.27 kB / 0.5266 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.3947, allocations: 200.9 kB / 0.5268 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.395, allocations: 0.6927 MB / 0.5275 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.3951, allocations: 20.92 kB / 0.5275 GB, free: 13.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3951, allocations: 0 / 0.5275 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Templates: time 0.00374/0.3988, allocations: 1.716 MB / 0.5291 GB, free: 12.91 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches