Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008192/0.0008192, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007516/0.0007516, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8098/0.8098, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1264/0.1264, allocations: 32.36 MB / 270.3 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.647e-05, allocations: 5.656 kB / 408.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001936/0.001962, allocations: 1.561 MB / 409.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004428/0.002405, allocations: 303.5 kB / 410 MB, free: 11.14 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.002455, allocations: 4 kB / 410 MB, free: 11.14 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.002703, allocations: 79.7 kB / 410.1 MB, free: 11.06 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.002867, allocations: 67.73 kB / 410.1 MB, free: 11 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.003028, allocations: 59.8 kB / 410.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.003156, allocations: 67.83 kB / 410.2 MB, free: 10.87 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.003248, allocations: 15.97 kB / 410.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.57e-05/0.003304, allocations: 39.84 kB / 410.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.815e-05/0.003382, allocations: 39.88 kB / 410.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.003397, allocations: 4 kB / 410.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.026e-05/0.003458, allocations: 31.94 kB / 410.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.003506, allocations: 19.92 kB / 410.4 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.003532, allocations: 15.92 kB / 410.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.00367, allocations: 79.72 kB / 410.5 MB, free: 10.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003673, allocations: 0 / 410.5 MB, free: 10.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.003674, allocations: 3.938 kB / 410.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.003678, allocations: 0 / 410.5 MB, free: 10.62 MB / 346.7 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.000361/0.004039, allocations: 321.8 kB / 410.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.004072, allocations: 8.031 kB / 410.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.004104, allocations: 8.891 kB / 410.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.004234, allocations: 145.5 kB / 411 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.004242, allocations: 384 / 411 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.004261, allocations: 4.375 kB / 411 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.004365, allocations: 46.23 kB / 411 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.004375, allocations: 4.188 kB / 411 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.004384, allocations: 8.062 kB / 411 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.004388, allocations: 4 kB / 411 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.185e-05/0.00444, allocations: 19.98 kB / 411 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.004673, allocations: 216.6 kB / 411.3 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.004837, allocations: 46.56 kB / 411.3 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.898e-05/0.004866, allocations: 20.94 kB / 411.3 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.004885, allocations: 3.938 kB / 411.3 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.0049, allocations: 30.56 kB / 411.4 MB, free: 9.645 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.004901, allocations: 0 / 411.4 MB, free: 9.645 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003542/0.005255, allocations: 145.4 kB / 411.5 MB, free: 9.496 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.005286, allocations: 51.41 kB / 411.5 MB, free: 9.434 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.005405, allocations: 194.2 kB / 411.7 MB, free: 9.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.005416, allocations: 33.7 kB / 411.8 MB, free: 9.195 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.005457, allocations: 96.14 kB / 411.9 MB, free: 9.098 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.005474, allocations: 15.84 kB / 411.9 MB, free: 9.082 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.0055, allocations: 17.72 kB / 411.9 MB, free: 9.059 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.005577, allocations: 322.8 kB / 412.2 MB, free: 8.734 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.785e-05/0.005614, allocations: 19.98 kB / 412.2 MB, free: 8.715 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/0.005643, allocations: 19.92 kB / 412.3 MB, free: 8.695 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.52e-05/0.005708, allocations: 44.84 kB / 412.3 MB, free: 8.648 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.005709, allocations: 0 / 412.3 MB, free: 8.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.543e-05/0.005805, allocations: 85.73 kB / 412.4 MB, free: 8.559 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.005818, allocations: 10.66 kB / 412.4 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.005824, allocations: 4.062 kB / 412.4 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.005834, allocations: 0 / 412.4 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.412e-05/0.005869, allocations: 8.281 kB / 412.4 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.005873, allocations: 3.984 kB / 412.4 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.005891, allocations: 4 kB / 412.4 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.005897, allocations: 8 kB / 412.4 MB, free: 8.523 MB / 346.7 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.969e-05/0.005956, allocations: 129.8 kB / 412.5 MB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.005973, allocations: 11.89 kB / 412.6 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.006099, allocations: 94.06 kB / 412.6 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006101, allocations: 3.938 kB / 412.7 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.006104, allocations: 0 / 412.7 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.006106, allocations: 0 / 412.7 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.006339, allocations: 310 kB / 413 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.00634, allocations: 0 / 413 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.661e-05/0.006367, allocations: 11.98 kB / 413 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.006368, allocations: 0 / 413 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.006374, allocations: 4 kB / 413 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.006375, allocations: 0 / 413 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006376, allocations: 0 / 413 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.006487, allocations: 179.4 kB / 413.1 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.006496, allocations: 7.953 kB / 413.2 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.006506, allocations: 4.125 kB / 413.2 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.269e-05/0.006539, allocations: 12 kB / 413.2 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.006569, allocations: 3.984 kB / 413.2 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.006572, allocations: 4 kB / 413.2 MB, free: 7.691 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.852e-05/0.006651, allocations: 151.8 kB / 413.3 MB, free: 7.543 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006651, allocations: 4 kB / 413.3 MB, free: 7.539 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001587/0.00681, allocations: 15.92 kB / 413.3 MB, free: 7.523 MB / 346.7 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.0006107/0.00742, allocations: 419.5 kB / 413.8 MB, free: 7.156 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.007535, allocations: 47.97 kB / 413.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.007536, allocations: 3.938 kB / 413.8 MB, free: 7.105 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.439e-05/0.007571, allocations: 27.92 kB / 413.8 MB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.007797, allocations: 15.92 kB / 413.8 MB, free: 7.062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.008113, allocations: 231.2 kB / 414.1 MB, free: 6.805 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.603e-05/0.008169, allocations: 87.17 kB / 414.2 MB, free: 6.699 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.008195, allocations: 16.5 kB / 414.2 MB, free: 6.684 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.008195, allocations: 4 kB / 414.2 MB, free: 6.68 MB / 346.7 MB Notification: Performance of Templates: time 0.002088/0.01028, allocations: 1.504 MB / 415.7 MB, free: 5.176 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.492492750287056]