Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001177/0.001177, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.336/1.336, allocations: 222.9 MB / 242.5 MB, free: 15.33 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.1961/0.1961, allocations: 44.17 MB / 336.8 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001413, allocations: 71.95 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1116, allocations: 60.83 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003195/0.1149, allocations: 1.672 MB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007459/0.1156, allocations: 415.2 kB / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.1157, allocations: 0 / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.116, allocations: 91.75 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.1162, allocations: 71.78 kB / 471.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.1164, allocations: 79.84 kB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.1166, allocations: 79.81 kB / 471.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1167, allocations: 24 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.527e-05/0.1168, allocations: 35.89 kB / 471.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1169, allocations: 67.69 kB / 471.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1169, allocations: 4 kB / 471.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-05/0.117, allocations: 35.98 kB / 471.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.431e-05/0.117, allocations: 27.92 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.1171, allocations: 39.72 kB / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.1172, allocations: 88.05 kB / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1172, allocations: 0 / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1173, allocations: 4 kB / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1173, allocations: 4 kB / 471.9 MB, free: 12.07 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004575/0.1177, allocations: 419 kB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1178, allocations: 8.031 kB / 472.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.1178, allocations: 16.75 kB / 472.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.118, allocations: 208.5 kB / 472.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.118, allocations: 4.375 kB / 472.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.118, allocations: 4.375 kB / 472.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1182, allocations: 77.72 kB / 472.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1182, allocations: 4 kB / 472.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1183, allocations: 4 kB / 472.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1183, allocations: 0 / 472.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.1184, allocations: 39.97 kB / 472.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.1188, allocations: 324.6 kB / 473 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.1189, allocations: 66.55 kB / 473 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.119, allocations: 21.02 kB / 473.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.119, allocations: 7.922 kB / 473.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.119, allocations: 34.55 kB / 473.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.119, allocations: 4 kB / 473.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001025/0.1201, allocations: 296.8 kB / 473.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1201, allocations: 51.41 kB / 473.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.1203, allocations: 235.5 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.1204, allocations: 25.7 kB / 473.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.1204, allocations: 112 kB / 473.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.973e-05/0.1205, allocations: 55.34 kB / 473.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.1205, allocations: 21.83 kB / 473.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.1206, allocations: 330.8 kB / 474.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-05/0.1207, allocations: 35.97 kB / 474.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.544e-05/0.1208, allocations: 47.3 kB / 474.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.121, allocations: 88.77 kB / 474.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.121, allocations: 4 kB / 474.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002402/0.1213, allocations: 133.5 kB / 474.5 MB, free: 9.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1213, allocations: 7.984 kB / 474.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1213, allocations: 0 / 474.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1213, allocations: 3.938 kB / 474.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1215, allocations: 27.92 kB / 474.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.1215, allocations: 4 kB / 474.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.1215, allocations: 12 kB / 474.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.1215, allocations: 0.7031 kB / 474.6 MB, free: 9.172 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 (13): * Single equations (assignments): 13 * 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.483e-05/0.1216, allocations: 137.8 kB / 474.7 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.1217, allocations: 11.89 kB / 474.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.122, allocations: 171 kB / 474.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.122, allocations: 3.938 kB / 474.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.122, allocations: 4 kB / 474.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.122, allocations: 3.984 kB / 474.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.1226, allocations: 479.1 kB / 475.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1226, allocations: 0 / 475.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.775e-05/0.1227, allocations: 27.98 kB / 475.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1227, allocations: 0 / 475.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1227, allocations: 4 kB / 475.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1227, allocations: 8.031 kB / 475.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1227, allocations: 3.938 kB / 475.4 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.123, allocations: 234.2 kB / 475.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.1231, allocations: 96.91 kB / 475.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.1231, allocations: 4 kB / 475.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.1232, allocations: 8 kB / 475.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.1232, allocations: 11.98 kB / 475.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1233, allocations: 4 kB / 475.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.1234, allocations: 171.2 kB / 475.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1234, allocations: 0 / 475.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1237, allocations: 24 kB / 476 MB, free: 7.688 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 (13): * Single equations (assignments): 13 * 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.001025/0.1247, allocations: 459.2 kB / 476.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.1249, allocations: 91.95 kB / 476.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.125, allocations: 0 / 476.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.1251, allocations: 59.97 kB / 476.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.1254, allocations: 25.75 kB / 476.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.126, allocations: 371.1 kB / 476.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.1263, allocations: 0.716 MB / 477.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.1264, allocations: 23.42 kB / 477.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1264, allocations: 0 / 477.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of Templates: time 0.0034/0.1298, allocations: 1.992 MB / 479.7 MB, free: 4.09 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches