Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 108.4 kB / 17.98 MB, free: 5.379 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.001166/0.001166, allocations: 193.3 kB / 18.9 MB, free: 4.461 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.296/1.296, allocations: 222.9 MB / 242.6 MB, free: 15.36 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.199/0.199, allocations: 44.18 MB / 336.9 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.97 kB / 408.5 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09644/0.09769, allocations: 60.83 MB / 469.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002894/0.1006, allocations: 1.637 MB / 471 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006756/0.1013, allocations: 403.3 kB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.1014, allocations: 0 / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.1017, allocations: 79.77 kB / 471.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.1019, allocations: 43.89 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.1022, allocations: 83.83 kB / 471.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.1023, allocations: 75.83 kB / 471.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1025, allocations: 16.17 kB / 471.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.348e-05/0.1025, allocations: 35.84 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.921e-05/0.1026, allocations: 51.89 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1026, allocations: 0 / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1028, allocations: 51.84 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.1028, allocations: 23.98 kB / 471.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.1029, allocations: 31.73 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.103, allocations: 80.11 kB / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1031, allocations: 0 / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1031, allocations: 0 / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1031, allocations: 0 / 472 MB, free: 12.08 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.0004592/0.1035, allocations: 407 kB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1036, allocations: 8.031 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.1036, allocations: 8.844 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.1038, allocations: 196.1 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.1038, allocations: 4.375 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.1039, allocations: 12.36 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.104, allocations: 49.62 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.104, allocations: 7.844 kB / 472.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1041, allocations: 3.984 kB / 472.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1041, allocations: 0 / 472.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.212e-05/0.1042, allocations: 27.98 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.1045, allocations: 292.8 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.1046, allocations: 42.5 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.1047, allocations: 24.94 kB / 473 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1047, allocations: 4 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.1048, allocations: 30.56 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1048, allocations: 4 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008209/0.1056, allocations: 213.1 kB / 473.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.1056, allocations: 55.41 kB / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.1058, allocations: 214.1 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1059, allocations: 29.7 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.1059, allocations: 108 kB / 473.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.106, allocations: 23.73 kB / 473.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.106, allocations: 25.69 kB / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1061, allocations: 322.8 kB / 474 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.1062, allocations: 27.98 kB / 474.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.139e-05/0.1063, allocations: 19.98 kB / 474.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.1064, allocations: 68.77 kB / 474.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1064, allocations: 0 / 474.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001913/0.1066, allocations: 97.48 kB / 474.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.1066, allocations: 8 kB / 474.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1067, allocations: 320 / 474.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.1067, allocations: 0 / 474.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.314e-05/0.1068, allocations: 15.98 kB / 474.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1068, allocations: 7.938 kB / 474.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.838e-05/0.1068, allocations: 11.92 kB / 474.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1068, allocations: 7.984 kB / 474.3 MB, free: 9.527 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 9.846e-05/0.1069, allocations: 130.3 kB / 474.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.107, allocations: 7.906 kB / 474.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.1072, allocations: 114.3 kB / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1072, allocations: 0 / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1073, allocations: 7.938 kB / 474.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1073, allocations: 0 / 474.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.1077, allocations: 403.2 kB / 474.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1077, allocations: 0 / 474.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.938e-05/0.1078, allocations: 28.28 kB / 475 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1078, allocations: 0 / 475 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1078, allocations: 4.031 kB / 475 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1079, allocations: 0 / 475 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1079, allocations: 4 kB / 475 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.1081, allocations: 196.3 kB / 475.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.1081, allocations: 96.94 kB / 475.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.1082, allocations: 8 kB / 475.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.1082, allocations: 7.984 kB / 475.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.1083, allocations: 4 kB / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.1083, allocations: 7.938 kB / 475.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1084, allocations: 159.2 kB / 475.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1084, allocations: 0 / 475.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1087, allocations: 19.98 kB / 475.5 MB, free: 8.242 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.0009863/0.1097, allocations: 450.2 kB / 475.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.1099, allocations: 75.89 kB / 476 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1099, allocations: 0 / 476 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.11, allocations: 35.97 kB / 476 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.1103, allocations: 32.12 kB / 476 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.1108, allocations: 304.8 kB / 476.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.1111, allocations: 0.708 MB / 477.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.1111, allocations: 15.44 kB / 477.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1111, allocations: 0 / 477.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of Templates: time 0.003031/0.1142, allocations: 1.689 MB / 478.8 MB, free: 5.07 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches