Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001512/0.001512, allocations: 187 kB / 19.34 MB, free: 3.641 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.333/1.333, allocations: 222.9 MB / 243 MB, free: 15.09 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.2048/0.2048, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 67.2 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.11, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003006/0.1131, allocations: 1.568 MB / 472.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007249/0.1138, allocations: 407.1 kB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.1139, allocations: 7.938 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.1142, allocations: 123.7 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.1145, allocations: 87.77 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.1148, allocations: 91.56 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.1149, allocations: 87.86 kB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.1151, allocations: 24.11 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.526e-05/0.1151, allocations: 43.88 kB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1153, allocations: 75.8 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1153, allocations: 4 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1154, allocations: 47.92 kB / 473.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.1155, allocations: 27.92 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.1155, allocations: 35.67 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.1157, allocations: 111.6 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1158, allocations: 0 / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1158, allocations: 0 / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1158, allocations: 0 / 473.4 MB, free: 10.93 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.0005596/0.1164, allocations: 433.7 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1164, allocations: 8.031 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/0.1165, allocations: 12.84 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.1167, allocations: 207.8 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1167, allocations: 4.375 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1167, allocations: 16.31 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1169, allocations: 53.61 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1169, allocations: 0 / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1169, allocations: 11.98 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1169, allocations: 0 / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.797e-05/0.117, allocations: 23.97 kB / 474.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.1174, allocations: 316.5 kB / 474.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.1175, allocations: 42.56 kB / 474.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.1176, allocations: 16.86 kB / 474.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1176, allocations: 4.078 kB / 474.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.1176, allocations: 30.56 kB / 474.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1177, allocations: 0 / 474.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008011/0.1185, allocations: 225 kB / 474.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.1185, allocations: 59.39 kB / 474.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.1187, allocations: 270.2 kB / 475.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1188, allocations: 25.7 kB / 475.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.1188, allocations: 120 kB / 475.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.1189, allocations: 27.72 kB / 475.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.1189, allocations: 21.72 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1191, allocations: 330.8 kB / 475.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.1191, allocations: 19.98 kB / 475.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.979e-05/0.1192, allocations: 23.98 kB / 475.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.1193, allocations: 60.83 kB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1193, allocations: 4 kB / 475.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001918/0.1195, allocations: 101.4 kB / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1196, allocations: 8 kB / 475.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1196, allocations: 0 / 475.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1196, allocations: 0 / 475.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.1197, allocations: 15.98 kB / 475.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1197, allocations: 3.938 kB / 475.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.932e-05/0.1198, allocations: 11.98 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1198, allocations: 8 kB / 475.9 MB, free: 8.238 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.147e-05/0.1199, allocations: 133.8 kB / 476 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.1199, allocations: 11.81 kB / 476 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.1202, allocations: 127 kB / 476.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1202, allocations: 0 / 476.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1202, allocations: 3.938 kB / 476.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1202, allocations: 4 kB / 476.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.1207, allocations: 403.7 kB / 476.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1207, allocations: 0 / 476.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/0.1208, allocations: 23.92 kB / 476.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1208, allocations: 0 / 476.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1208, allocations: 4 kB / 476.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1208, allocations: 4 kB / 476.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1208, allocations: 4.109 kB / 476.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.1211, allocations: 216.1 kB / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.1211, allocations: 93.28 kB / 476.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.1211, allocations: 0 / 476.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.833e-05/0.1212, allocations: 11.92 kB / 476.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.1213, allocations: 8 kB / 476.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.1213, allocations: 11.98 kB / 476.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.1214, allocations: 195.2 kB / 477.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1214, allocations: 0 / 477.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.1218, allocations: 16 kB / 477.1 MB, free: 6.887 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.000986/0.1228, allocations: 474.2 kB / 477.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.123, allocations: 63.94 kB / 477.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.123, allocations: 0 / 477.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.926e-05/0.1231, allocations: 35.92 kB / 477.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.1235, allocations: 23.92 kB / 477.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.124, allocations: 299.4 kB / 478 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.1243, allocations: 0.7119 MB / 478.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.1243, allocations: 12.97 kB / 478.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.1244, allocations: 23.42 kB / 478.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1244, allocations: 0 / 478.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of Templates: time 0.003837/0.1282, allocations: 1.343 MB / 480.1 MB, free: 4.043 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches