Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 112.3 kB / 17.99 MB, free: 5.367 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.001439/0.001439, allocations: 193.3 kB / 18.9 MB, free: 4.449 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.361/1.361, allocations: 222.9 MB / 242.6 MB, free: 13.71 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.2066/0.2066, allocations: 44.17 MB / 336.9 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.45 kB / 408.5 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0926/0.09384, allocations: 60.84 MB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003183/0.09706, allocations: 1.622 MB / 471 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007454/0.09784, allocations: 391.4 kB / 471.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.09791, allocations: 3.938 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.09814, allocations: 19.91 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.09833, allocations: 35.91 kB / 471.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.09864, allocations: 75.8 kB / 471.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.09878, allocations: 55.84 kB / 471.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.875e-05/0.09889, allocations: 23.97 kB / 471.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.339e-05/0.09895, allocations: 19.88 kB / 471.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.815e-05/0.09902, allocations: 19.86 kB / 471.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.09904, allocations: 4 kB / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-05/0.09912, allocations: 27.98 kB / 471.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.09918, allocations: 19.91 kB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.09922, allocations: 23.81 kB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.09936, allocations: 55.92 kB / 471.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.09937, allocations: 4 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09938, allocations: 4 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.09939, allocations: 3.938 kB / 471.8 MB, free: 12.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004568/0.09985, allocations: 383.4 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.0999, allocations: 8.031 kB / 472.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.09995, allocations: 8.844 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.1001, allocations: 188.2 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.1002, allocations: 4.375 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.1002, allocations: 8.359 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1003, allocations: 53.81 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1003, allocations: 0 / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1004, allocations: 0 / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1004, allocations: 0 / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.179e-05/0.1005, allocations: 23.92 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.1008, allocations: 276.8 kB / 472.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.1011, allocations: 46.5 kB / 472.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.1011, allocations: 20.94 kB / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1011, allocations: 0 / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.1012, allocations: 34.5 kB / 472.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.1012, allocations: 0 / 472.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005494/0.1017, allocations: 137.3 kB / 472.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.1018, allocations: 55.34 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.1019, allocations: 168.6 kB / 473.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.102, allocations: 29.7 kB / 473.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.102, allocations: 96.12 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1021, allocations: 19.66 kB / 473.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.1021, allocations: 13.72 kB / 473.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1022, allocations: 330.8 kB / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.655e-05/0.1023, allocations: 15.98 kB / 473.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.665e-05/0.1024, allocations: 19.98 kB / 473.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1025, allocations: 44.83 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1025, allocations: 0 / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001799/0.1027, allocations: 85.77 kB / 473.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1027, allocations: 4 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1027, allocations: 8 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1027, allocations: 0 / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.825e-05/0.1028, allocations: 11.98 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1028, allocations: 4 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.1029, allocations: 0 / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1029, allocations: 4.281 kB / 473.8 MB, free: 10.02 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 (5): * Single equations (assignments): 5 * 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.832e-05/0.103, allocations: 122.3 kB / 474 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.103, allocations: 11.91 kB / 474 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.1032, allocations: 93.95 kB / 474.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1032, allocations: 0 / 474.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1033, allocations: 11.88 kB / 474.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1033, allocations: 0 / 474.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.1037, allocations: 342.5 kB / 474.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1037, allocations: 4 kB / 474.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.1038, allocations: 11.98 kB / 474.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1038, allocations: 0 / 474.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1038, allocations: 7.938 kB / 474.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.1038, allocations: 3.938 kB / 474.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1038, allocations: 0 / 474.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.104, allocations: 183.4 kB / 474.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.1041, allocations: 81.02 kB / 474.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.1041, allocations: 4 kB / 474.7 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.769e-05/0.1042, allocations: 7.922 kB / 474.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.1042, allocations: 8.188 kB / 474.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.1042, allocations: 4 kB / 474.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.1043, allocations: 129.7 kB / 474.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1043, allocations: 0 / 474.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.1046, allocations: 16 kB / 474.9 MB, free: 8.891 MB / 350.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 (5): * Single equations (assignments): 5 * 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.0008796/0.1055, allocations: 404 kB / 475.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1057, allocations: 47.91 kB / 475.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1057, allocations: 0 / 475.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.1057, allocations: 23.97 kB / 475.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1061, allocations: 19.5 kB / 475.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.1065, allocations: 231.8 kB / 475.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.1068, allocations: 0.7001 MB / 476.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.1069, allocations: 19.36 kB / 476.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1069, allocations: 0 / 476.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of Templates: time 0.003176/0.11, allocations: 1.413 MB / 477.7 MB, free: 6.141 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches