Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 107.6 kB / 17.03 MB, free: 5.66 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.001243/0.001243, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.66/1.66, allocations: 205.1 MB / 223.8 MB, free: 12.24 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.2299/0.2299, allocations: 43.52 MB / 314.7 MB, free: 476 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.001396/0.001396, allocations: 64.62 kB / 384.2 MB, free: 56.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1173, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002792/0.1201, allocations: 1.544 MB / 443.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005769/0.1207, allocations: 315.5 kB / 443.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.1208, allocations: 3.938 kB / 443.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.1211, allocations: 19.91 kB / 443.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1213, allocations: 43.73 kB / 443.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.1215, allocations: 70.7 kB / 443.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1216, allocations: 59.84 kB / 444 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1217, allocations: 11.92 kB / 444 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.3e-05/0.1218, allocations: 15.94 kB / 444 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.065e-05/0.1218, allocations: 27.84 kB / 444.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1219, allocations: 0 / 444.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.687e-05/0.1219, allocations: 31.98 kB / 444.1 MB, free: 4 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.626e-05/0.122, allocations: 15.94 kB / 444.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.122, allocations: 23.86 kB / 444.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1222, allocations: 87.66 kB / 444.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1222, allocations: 0 / 444.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1222, allocations: 0 / 444.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1222, allocations: 0 / 444.2 MB, free: 3.875 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.0004001/0.1226, allocations: 375.2 kB / 444.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1227, allocations: 11.89 kB / 444.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.1227, allocations: 8.844 kB / 444.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1228, allocations: 189.4 kB / 444.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1229, allocations: 4.375 kB / 444.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.1229, allocations: 4.375 kB / 444.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.123, allocations: 53.73 kB / 444.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.123, allocations: 4 kB / 444.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1231, allocations: 0 / 444.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1231, allocations: 0 / 444.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.076e-05/0.1232, allocations: 19.98 kB / 444.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002755/0.1234, allocations: 280.8 kB / 445.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.1236, allocations: 46.5 kB / 445.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.1237, allocations: 12.94 kB / 445.2 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.1237, allocations: 7.984 kB / 445.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.1237, allocations: 30.56 kB / 445.2 MB, free: 2.688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.963e-06/0.1237, allocations: 0 / 445.2 MB, free: 2.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004589/0.1242, allocations: 145.2 kB / 445.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.1242, allocations: 55.41 kB / 445.4 MB, free: 2.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.578e-05/0.1243, allocations: 146.9 kB / 445.6 MB, free: 2.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.1244, allocations: 29.7 kB / 445.6 MB, free: 2.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.1244, allocations: 100.1 kB / 445.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.1244, allocations: 15.66 kB / 445.7 MB, free: 2.168 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.1244, allocations: 25.7 kB / 445.7 MB, free: 2.137 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.584e-05/0.1245, allocations: 326.7 kB / 446.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.1246, allocations: 15.98 kB / 446.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.643e-05/0.1246, allocations: 15.98 kB / 446.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.59e-05/0.1247, allocations: 48.83 kB / 446.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1247, allocations: 3.938 kB / 446.1 MB, free: 1.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001348/0.1249, allocations: 81.58 kB / 446.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1249, allocations: 6.969 kB / 446.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1249, allocations: 0 / 446.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1249, allocations: 0 / 446.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.433e-05/0.125, allocations: 15.98 kB / 446.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.125, allocations: 0 / 446.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.414e-05/0.125, allocations: 8.234 kB / 446.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.125, allocations: 7.938 kB / 446.3 MB, free: 1.602 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 5.37e-05/0.1251, allocations: 121.8 kB / 446.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.1251, allocations: 7.906 kB / 446.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.1253, allocations: 97.89 kB / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1253, allocations: 0 / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1253, allocations: 0 / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1253, allocations: 0 / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.1256, allocations: 350.4 kB / 446.8 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1256, allocations: 0 / 446.8 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.1257, allocations: 12 kB / 446.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1257, allocations: 0 / 446.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.1257, allocations: 4 kB / 446.8 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1257, allocations: 3.938 kB / 446.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1257, allocations: 0 / 446.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.1259, allocations: 179.4 kB / 447 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.423e-05/0.1259, allocations: 85.02 kB / 447.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.1259, allocations: 3.938 kB / 447.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.139e-05/0.126, allocations: 11.92 kB / 447.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.126, allocations: 0 / 447.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.126, allocations: 4 kB / 447.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.875e-05/0.1261, allocations: 119.2 kB / 447.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1261, allocations: 3.938 kB / 447.2 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.1264, allocations: 12 kB / 447.3 MB, free: 0.5039 MB / 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.0008068/0.1272, allocations: 409.8 kB / 447.7 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.1273, allocations: 43.97 kB / 447.7 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1274, allocations: 0 / 447.7 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.974e-05/0.1274, allocations: 27.92 kB / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1278, allocations: 15.98 kB / 447.7 MB, free: 100 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.1282, allocations: 173.6 kB / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1285, allocations: 0.6963 MB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.151e-05/0.1285, allocations: 4.25 kB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.1286, allocations: 11.44 kB / 448.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of SimCode: time 2.195e-06/0.1286, allocations: 0 / 448.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of Templates: time 0.003648/0.1322, allocations: 1.114 MB / 449.7 MB, free: 14.06 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches