Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001862/0.001862, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.422/1.422, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2265/0.2265, allocations: 44.17 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.91 kB / 409.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1098, allocations: 60.83 MB / 469.9 MB, free: 2.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003901/0.1137, allocations: 1.553 MB / 471.5 MB, free: 1.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.1154, allocations: 1.02 MB / 472.5 MB, free: 15.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.798e-05/0.1154, allocations: 0 / 472.5 MB, free: 15.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.1157, allocations: 15.86 kB / 472.5 MB, free: 15.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.1159, allocations: 47.78 kB / 472.6 MB, free: 15.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.1162, allocations: 95.44 kB / 472.7 MB, free: 15.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.1164, allocations: 55.84 kB / 472.7 MB, free: 15.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1165, allocations: 12 kB / 472.7 MB, free: 15.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.332e-05/0.1166, allocations: 23.91 kB / 472.7 MB, free: 15.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1167, allocations: 31.86 kB / 472.8 MB, free: 15.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1168, allocations: 3.938 kB / 472.8 MB, free: 15.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1169, allocations: 51.91 kB / 472.8 MB, free: 15.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.1169, allocations: 15.92 kB / 472.8 MB, free: 15.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.117, allocations: 19.88 kB / 472.9 MB, free: 15.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.1172, allocations: 91.77 kB / 473 MB, free: 15.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1172, allocations: 4 kB / 473 MB, free: 15.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1172, allocations: 0 / 473 MB, free: 15.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1172, allocations: 0 / 473 MB, free: 15.52 MB / 398.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.0004699/0.1177, allocations: 375.5 kB / 473.3 MB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1178, allocations: 8.031 kB / 473.3 MB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.1178, allocations: 4.938 kB / 473.3 MB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.118, allocations: 192.1 kB / 473.5 MB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1181, allocations: 4.312 kB / 473.5 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.1181, allocations: 4.375 kB / 473.5 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1183, allocations: 67.53 kB / 473.6 MB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1183, allocations: 0 / 473.6 MB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1183, allocations: 0 / 473.6 MB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1183, allocations: 0 / 473.6 MB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.1184, allocations: 23.97 kB / 473.6 MB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.1188, allocations: 280.8 kB / 473.9 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.119, allocations: 42.55 kB / 473.9 MB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.119, allocations: 12.86 kB / 473.9 MB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1191, allocations: 4 kB / 474 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1191, allocations: 30.56 kB / 474 MB, free: 14.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1191, allocations: 0 / 474 MB, free: 14.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005534/0.1197, allocations: 137.5 kB / 474.1 MB, free: 14.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.1197, allocations: 81.11 kB / 474.2 MB, free: 14.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1199, allocations: 129.8 kB / 474.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1199, allocations: 25.7 kB / 474.3 MB, free: 13.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.12, allocations: 100 kB / 474.4 MB, free: 13.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.12, allocations: 19.73 kB / 474.5 MB, free: 13.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.12, allocations: 21.72 kB / 474.5 MB, free: 13.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1202, allocations: 322.8 kB / 474.8 MB, free: 13.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-05/0.1203, allocations: 19.98 kB / 474.8 MB, free: 13.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.1203, allocations: 33.64 kB / 474.9 MB, free: 13.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.1205, allocations: 44.83 kB / 474.9 MB, free: 13.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1205, allocations: 32 / 474.9 MB, free: 13.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001937/0.1207, allocations: 81.58 kB / 475 MB, free: 13.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1207, allocations: 10.81 kB / 475 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1207, allocations: 256 / 475 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1207, allocations: 0 / 475 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.585e-05/0.1208, allocations: 15.98 kB / 475 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1208, allocations: 7.875 kB / 475 MB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.033e-05/0.1209, allocations: 4 kB / 475 MB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1209, allocations: 7.984 kB / 475 MB, free: 13.21 MB / 398.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 7.997e-05/0.121, allocations: 121.8 kB / 475.1 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.121, allocations: 0 / 475.1 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.1212, allocations: 89.53 kB / 475.2 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1213, allocations: 0 / 475.2 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1213, allocations: 0 / 475.2 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1213, allocations: 0 / 475.2 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.1217, allocations: 354.4 kB / 475.6 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1217, allocations: 0 / 475.6 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.537e-05/0.1218, allocations: 8 kB / 475.6 MB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1218, allocations: 8.219 kB / 475.6 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1218, allocations: 0 / 475.6 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1218, allocations: 3.938 kB / 475.6 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1218, allocations: 3.984 kB / 475.6 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.1221, allocations: 179.5 kB / 475.8 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.1221, allocations: 81.02 kB / 475.9 MB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1221, allocations: 8 kB / 475.9 MB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.1222, allocations: 7.922 kB / 475.9 MB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.1223, allocations: 4 kB / 475.9 MB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.1223, allocations: 0 / 475.9 MB, free: 12.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.936e-05/0.1224, allocations: 111 kB / 476 MB, free: 12.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1224, allocations: 0 / 476 MB, free: 12.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1226, allocations: 27.98 kB / 476 MB, free: 12.12 MB / 398.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.001004/0.1236, allocations: 435.7 kB / 476.4 MB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.1239, allocations: 55.91 kB / 476.5 MB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1239, allocations: 0 / 476.5 MB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.775e-05/0.124, allocations: 28.11 kB / 476.5 MB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.1243, allocations: 18.17 kB / 476.5 MB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.1247, allocations: 187 kB / 476.7 MB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.125, allocations: 0.6885 MB / 477.4 MB, free: 10.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.1251, allocations: 19.44 kB / 477.4 MB, free: 10.81 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1251, allocations: 0 / 477.4 MB, free: 10.81 MB / 398.1 MB Notification: Performance of Templates: time 0.003333/0.1284, allocations: 1.554 MB / 479 MB, free: 9.27 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches