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.001494/0.001494, allocations: 104.4 kB / 17.98 MB, free: 5.355 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.00151/0.00151, allocations: 193.3 kB / 18.9 MB, free: 4.434 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.321/1.321, 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.2085/0.2085, allocations: 44.17 MB / 336.9 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 71.02 kB / 408.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.108, allocations: 60.82 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003106/0.1111, allocations: 1.668 MB / 471 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007761/0.1119, allocations: 423.1 kB / 471.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.112, allocations: 4 kB / 471.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.1123, allocations: 87.81 kB / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.1125, allocations: 63.86 kB / 471.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.1128, allocations: 78.59 kB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.113, allocations: 95.73 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1131, allocations: 24 kB / 471.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.285e-05/0.1132, allocations: 35.89 kB / 471.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.927e-05/0.1133, allocations: 59.81 kB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.1133, allocations: 8 kB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-05/0.1134, allocations: 43.98 kB / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.1135, allocations: 35.78 kB / 472 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.1135, allocations: 35.75 kB / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1137, allocations: 96.03 kB / 472.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1137, allocations: 0 / 472.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1137, allocations: 0 / 472.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1137, allocations: 0 / 472.1 MB, free: 11.97 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.0004762/0.1142, allocations: 422.9 kB / 472.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1142, allocations: 8.031 kB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.1143, allocations: 12.75 kB / 472.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.1145, allocations: 204.6 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1145, allocations: 12.31 kB / 472.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.1145, allocations: 8.359 kB / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1147, allocations: 73.73 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1147, allocations: 0 / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1148, allocations: 0 / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1148, allocations: 4 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.1149, allocations: 39.91 kB / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.1153, allocations: 332.6 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1154, allocations: 62.55 kB / 473.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/0.1155, allocations: 24.84 kB / 473.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1155, allocations: 0 / 473.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1156, allocations: 30.56 kB / 473.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1156, allocations: 4 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009875/0.1166, allocations: 304.9 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.1166, allocations: 55.41 kB / 473.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.1168, allocations: 235.5 kB / 473.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1169, allocations: 29.7 kB / 473.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.1169, allocations: 112 kB / 474 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.117, allocations: 47.34 kB / 474.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.117, allocations: 29.7 kB / 474.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1172, allocations: 330.8 kB / 474.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.852e-05/0.1173, allocations: 31.98 kB / 474.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.475e-05/0.1174, allocations: 47.97 kB / 474.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.1175, allocations: 87.95 kB / 474.6 MB, free: 9.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1176, allocations: 0 / 474.6 MB, free: 9.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002405/0.1178, allocations: 133.4 kB / 474.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1178, allocations: 8 kB / 474.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1178, allocations: 112 / 474.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1179, allocations: 7.875 kB / 474.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.118, allocations: 31.98 kB / 474.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.118, allocations: 0 / 474.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.118, allocations: 8 kB / 474.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.1181, allocations: 7.984 kB / 474.8 MB, free: 9.055 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.563e-05/0.1182, allocations: 129.8 kB / 474.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.1182, allocations: 11.91 kB / 474.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.1185, allocations: 167.8 kB / 475.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1185, allocations: 7.922 kB / 475.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1186, allocations: 0 / 475.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1186, allocations: 0 / 475.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005631/0.1191, allocations: 475.1 kB / 475.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1191, allocations: 8.016 kB / 475.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.295e-05/0.1192, allocations: 23.98 kB / 475.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.1193, allocations: 4 kB / 475.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1193, allocations: 4 kB / 475.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1193, allocations: 3.938 kB / 475.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1193, allocations: 7.984 kB / 475.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.1196, allocations: 248 kB / 475.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.1196, allocations: 88.92 kB / 476 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.1197, allocations: 0 / 476 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.1197, allocations: 4 kB / 476 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.1198, allocations: 15.98 kB / 476 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1198, allocations: 0 / 476 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1199, allocations: 175.2 kB / 476.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1199, allocations: 0 / 476.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1202, allocations: 24 kB / 476.2 MB, free: 7.578 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.0009904/0.1212, allocations: 465.9 kB / 476.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.1215, allocations: 107.9 kB / 476.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1215, allocations: 0 / 476.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1216, allocations: 51.92 kB / 476.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.122, allocations: 23.92 kB / 476.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.1225, allocations: 365.4 kB / 477.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.1228, allocations: 0.7236 MB / 477.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.1228, allocations: 15.44 kB / 477.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1228, allocations: 0 / 477.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of Templates: time 0.003706/0.1266, allocations: 2.001 MB / 479.9 MB, free: 3.969 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