Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 107 kB / 17.03 MB, free: 5.703 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.001189/0.001189, allocations: 196.1 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2048/0.2048, allocations: 43.52 MB / 314.7 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 70.55 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1137, allocations: 57.79 MB / 442 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002882/0.1166, allocations: 1.546 MB / 443.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000563/0.1172, allocations: 311.6 kB / 443.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.1172, allocations: 0 / 443.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.1175, allocations: 31.83 kB / 443.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.1177, allocations: 47.72 kB / 443.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.118, allocations: 71.78 kB / 444 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.1181, allocations: 51.84 kB / 444 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1182, allocations: 19.92 kB / 444 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.639e-05/0.1183, allocations: 19.92 kB / 444.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.686e-05/0.1183, allocations: 19.86 kB / 444.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1184, allocations: 4 kB / 444.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.184e-05/0.1185, allocations: 27.98 kB / 444.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.1185, allocations: 19.94 kB / 444.1 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.1186, allocations: 27.78 kB / 444.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.1187, allocations: 75.73 kB / 444.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1187, allocations: 4 kB / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1188, allocations: 0 / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1188, allocations: 0 / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000382/0.1191, allocations: 379.1 kB / 444.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1192, allocations: 11.89 kB / 444.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.1192, allocations: 12.78 kB / 444.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.1194, allocations: 197.4 kB / 444.8 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.1194, allocations: 384 / 444.8 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.1194, allocations: 4.375 kB / 444.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.1196, allocations: 53.75 kB / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1196, allocations: 0 / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.1196, allocations: 0 / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1196, allocations: 0 / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.468e-05/0.1197, allocations: 19.98 kB / 444.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.12, allocations: 284.8 kB / 445.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.1202, allocations: 42.5 kB / 445.2 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.1203, allocations: 20.94 kB / 445.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1203, allocations: 0 / 445.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.1203, allocations: 30.56 kB / 445.3 MB, free: 2.645 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.1203, allocations: 4 kB / 445.3 MB, free: 2.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005005/0.1208, allocations: 141.2 kB / 445.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.1209, allocations: 55.41 kB / 445.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.121, allocations: 172.9 kB / 445.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.121, allocations: 25.7 kB / 445.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.1211, allocations: 96.12 kB / 445.7 MB, free: 2.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.1211, allocations: 15.75 kB / 445.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.1211, allocations: 21.72 kB / 445.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.1212, allocations: 326.8 kB / 446.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.187e-05/0.1213, allocations: 11.98 kB / 446.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.012e-05/0.1213, allocations: 19.98 kB / 446.1 MB, free: 1.723 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1214, allocations: 45.02 kB / 446.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1214, allocations: 4 kB / 446.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000151/0.1216, allocations: 89.52 kB / 446.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1216, allocations: 5.25 kB / 446.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1216, allocations: 0 / 446.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1217, allocations: 0 / 446.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.1217, allocations: 15.98 kB / 446.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1217, allocations: 0 / 446.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.706e-05/0.1218, allocations: 288 / 446.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1218, allocations: 7.938 kB / 446.3 MB, free: 1.551 MB / 318.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 (5): * Single equations (assignments): 5 * 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 6.338e-05/0.1219, allocations: 129.7 kB / 446.4 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.1219, allocations: 7.906 kB / 446.4 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.1221, allocations: 97.89 kB / 446.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1221, allocations: 4 kB / 446.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1221, allocations: 0 / 446.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1221, allocations: 0 / 446.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.1224, allocations: 350.4 kB / 446.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.1225, allocations: 0 / 446.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/0.1225, allocations: 11.94 kB / 446.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1225, allocations: 0 / 446.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1225, allocations: 8 kB / 446.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.1225, allocations: 3.938 kB / 446.9 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1225, allocations: 0 / 446.9 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.1227, allocations: 183.6 kB / 447.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.828e-05/0.1228, allocations: 77.11 kB / 447.2 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.1228, allocations: 4 kB / 447.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.1229, allocations: 7.922 kB / 447.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1229, allocations: 4 kB / 447.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.1229, allocations: 0 / 447.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.106e-05/0.123, allocations: 127.2 kB / 447.3 MB, free: 464 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.123, allocations: 0 / 447.3 MB, free: 464 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1233, allocations: 19.91 kB / 447.3 MB, free: 444 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0008758/0.1241, allocations: 409.1 kB / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.1243, allocations: 43.97 kB / 447.8 MB, free: 72 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1244, allocations: 0 / 447.8 MB, free: 72 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.283e-05/0.1244, allocations: 27.97 kB / 447.8 MB, free: 44 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1248, allocations: 12 kB / 447.8 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.1252, allocations: 198.1 kB / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.1255, allocations: 0.6924 MB / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.709e-05/0.1256, allocations: 11.97 kB / 448.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.1256, allocations: 11.44 kB / 448.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1256, allocations: 0 / 448.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Templates: time 0.003841/0.1295, allocations: 1.105 MB / 449.8 MB, free: 13.98 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches