Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.00109/0.00109, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.326/1.326, allocations: 222.9 MB / 242.6 MB, free: 13.73 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.2036/0.2036, allocations: 44.17 MB / 336.9 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.84 kB / 408.5 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09534/0.0966, allocations: 60.84 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003121/0.09976, allocations: 1.633 MB / 471 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007098/0.1005, allocations: 399.4 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.1006, allocations: 3.938 kB / 471.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1009, allocations: 75.83 kB / 471.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.1011, allocations: 55.75 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.1014, allocations: 83.22 kB / 471.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.1015, allocations: 63.89 kB / 471.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1017, allocations: 24.16 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.422e-05/0.1017, allocations: 39.84 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.908e-05/0.1018, allocations: 51.83 kB / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1019, allocations: 4 kB / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.55e-05/0.102, allocations: 43.98 kB / 471.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.102, allocations: 19.92 kB / 471.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.1021, allocations: 31.73 kB / 471.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.1022, allocations: 72.19 kB / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1022, allocations: 0 / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1022, allocations: 0 / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1022, allocations: 0 / 472 MB, free: 12.12 MB / 350.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.0004482/0.1027, allocations: 411 kB / 472.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.1027, allocations: 8.031 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.1028, allocations: 16.84 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.1029, allocations: 200 kB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.103, allocations: 8.375 kB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.103, allocations: 8.359 kB / 472.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1031, allocations: 49.62 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1031, allocations: 3.906 kB / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1032, allocations: 8 kB / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1032, allocations: 0 / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.028e-05/0.1033, allocations: 27.97 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.1036, allocations: 292.8 kB / 473 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.696e-05/0.1037, allocations: 38.56 kB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.1038, allocations: 20.94 kB / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1038, allocations: 0 / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1038, allocations: 30.56 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.1038, allocations: 0 / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008162/0.1047, allocations: 229.1 kB / 473.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.1047, allocations: 51.41 kB / 473.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1049, allocations: 214.1 kB / 473.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.1049, allocations: 25.7 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.105, allocations: 112 kB / 473.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.105, allocations: 23.59 kB / 473.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.1051, allocations: 21.72 kB / 473.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1052, allocations: 322.8 kB / 474 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-05/0.1053, allocations: 27.97 kB / 474.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.337e-05/0.1053, allocations: 31.98 kB / 474.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.1055, allocations: 60.83 kB / 474.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1055, allocations: 4 kB / 474.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001944/0.1057, allocations: 105.4 kB / 474.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1057, allocations: 4 kB / 474.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1057, allocations: 0 / 474.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1057, allocations: 4 kB / 474.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1058, allocations: 15.98 kB / 474.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1059, allocations: 3.938 kB / 474.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/0.1059, allocations: 11.98 kB / 474.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1059, allocations: 4 kB / 474.3 MB, free: 9.551 MB / 350.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 (8): * Single equations (assignments): 8 * 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.115e-05/0.106, allocations: 122.4 kB / 474.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.106, allocations: 7.906 kB / 474.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.1063, allocations: 118.3 kB / 474.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1063, allocations: 4 kB / 474.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1063, allocations: 7.938 kB / 474.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1063, allocations: 0 / 474.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.1068, allocations: 403.2 kB / 475 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1068, allocations: 4 kB / 475 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-05/0.1069, allocations: 20.34 kB / 475 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1069, allocations: 0 / 475 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1069, allocations: 8.031 kB / 475 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1069, allocations: 0 / 475 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1069, allocations: 0 / 475 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.1072, allocations: 200.6 kB / 475.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.1072, allocations: 92.94 kB / 475.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.1072, allocations: 4 kB / 475.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.1073, allocations: 11.98 kB / 475.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.1074, allocations: 4 kB / 475.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.1074, allocations: 0 / 475.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1075, allocations: 155.2 kB / 475.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1075, allocations: 3.938 kB / 475.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1078, allocations: 23.98 kB / 475.5 MB, free: 8.273 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0009838/0.1087, allocations: 456.5 kB / 475.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.109, allocations: 71.91 kB / 476 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.109, allocations: 0 / 476 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.646e-05/0.1091, allocations: 39.98 kB / 476 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.1094, allocations: 19.92 kB / 476 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.1099, allocations: 300.8 kB / 476.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.1101, allocations: 0.708 MB / 477 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.1102, allocations: 19.44 kB / 477.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1102, allocations: 0 / 477.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of Templates: time 0.003166/0.1134, allocations: 1.703 MB / 478.8 MB, free: 5.094 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches