Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 108.3 kB / 17.98 MB, free: 5.336 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.001895/0.001895, allocations: 193.3 kB / 18.9 MB, free: 4.414 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.328/1.328, allocations: 222.9 MB / 242.6 MB, free: 15.37 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.2078/0.2078, allocations: 44.18 MB / 336.9 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 69.12 kB / 408.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09786/0.09926, allocations: 60.83 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003125/0.1024, allocations: 1.692 MB / 471.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007794/0.1032, allocations: 423.1 kB / 471.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.1033, allocations: 8 kB / 471.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.1035, allocations: 39.89 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.1038, allocations: 39.89 kB / 471.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.1041, allocations: 118.8 kB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.1043, allocations: 79.77 kB / 471.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.1044, allocations: 12 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.67e-05/0.1045, allocations: 31.89 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.189e-05/0.1046, allocations: 39.84 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1046, allocations: 4 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1047, allocations: 51.92 kB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.455e-05/0.1048, allocations: 23.91 kB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.1048, allocations: 31.75 kB / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1049, allocations: 79.88 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.105, allocations: 0 / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.105, allocations: 0 / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.105, allocations: 4 kB / 472 MB, free: 12.04 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004659/0.1055, allocations: 395.4 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1055, allocations: 8.031 kB / 472.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.1055, allocations: 8.844 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.1057, allocations: 196 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1057, allocations: 12.38 kB / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.1058, allocations: 384 / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1059, allocations: 65.8 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.106, allocations: 0 / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.106, allocations: 0 / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.106, allocations: 0 / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1061, allocations: 47.89 kB / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.1065, allocations: 300.7 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.1067, allocations: 58.58 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.497e-05/0.1068, allocations: 24.97 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1068, allocations: 0 / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.1069, allocations: 34.56 kB / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1069, allocations: 3.938 kB / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001399/0.1083, allocations: 385.2 kB / 473.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.1083, allocations: 59.28 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1085, allocations: 168.6 kB / 473.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1085, allocations: 29.7 kB / 473.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.1086, allocations: 96.12 kB / 473.9 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.1086, allocations: 39.45 kB / 473.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.1087, allocations: 21.72 kB / 473.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1088, allocations: 322.8 kB / 474.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.1089, allocations: 43.91 kB / 474.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.109, allocations: 47.97 kB / 474.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.1093, allocations: 100.7 kB / 474.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1093, allocations: 0 / 474.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002877/0.1096, allocations: 141.8 kB / 474.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1096, allocations: 8 kB / 474.6 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1096, allocations: 0 / 474.6 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1096, allocations: 0 / 474.6 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1097, allocations: 35.84 kB / 474.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1098, allocations: 0 / 474.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.1098, allocations: 15.92 kB / 474.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.1098, allocations: 4 kB / 474.7 MB, free: 9.199 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 (11): * Single equations (assignments): 11 * 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.968e-05/0.1099, allocations: 126.4 kB / 474.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.11, allocations: 15.81 kB / 474.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.1103, allocations: 158.2 kB / 474.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.1104, allocations: 7.938 kB / 475 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1104, allocations: 0 / 475 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1104, allocations: 0 / 475 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006252/0.111, allocations: 468.1 kB / 475.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.111, allocations: 0 / 475.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.901e-05/0.1111, allocations: 27.92 kB / 475.4 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1111, allocations: 4.188 kB / 475.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1112, allocations: 4 kB / 475.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1112, allocations: 64 / 475.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1112, allocations: 8 kB / 475.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.1115, allocations: 256.8 kB / 475.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.1116, allocations: 85.02 kB / 475.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.1116, allocations: 4.094 kB / 475.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/0.1117, allocations: 19.92 kB / 475.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.1118, allocations: 7.984 kB / 475.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.1118, allocations: 4 kB / 475.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.468e-05/0.1119, allocations: 129.7 kB / 475.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1119, allocations: 0 / 475.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1122, allocations: 24 kB / 476 MB, free: 7.762 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009972/0.1132, allocations: 456.8 kB / 476.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003166/0.1135, allocations: 111.8 kB / 476.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1135, allocations: 4 kB / 476.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.1137, allocations: 55.91 kB / 476.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.114, allocations: 23.92 kB / 476.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.1145, allocations: 309.8 kB / 476.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.1148, allocations: 0.708 MB / 477.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.1149, allocations: 15.44 kB / 477.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1149, allocations: 0 / 477.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of Templates: time 0.003673/0.1186, allocations: 1.84 MB / 479.5 MB, free: 4.379 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches