Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001442/0.001442, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001552/0.001552, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.386/0.386, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.069e-05, allocations: 2.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003501/0.003531, allocations: 1.595 MB / 378.9 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.005746, allocations: 1.255 MB / 380.2 MB, free: 80 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.005817, allocations: 0 / 380.2 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.006051, allocations: 15.86 kB / 380.2 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.006433, allocations: 87.55 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.006751, allocations: 99.56 kB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.006923, allocations: 67.83 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.007026, allocations: 8 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.344e-05/0.007109, allocations: 39.89 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.007239, allocations: 19.92 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.00726, allocations: 4 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004224/0.007683, allocations: 99.75 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.007735, allocations: 11.97 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.007774, allocations: 15.94 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.008087, allocations: 135.6 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.008092, allocations: 4 kB / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.008093, allocations: 3.938 kB / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.008097, allocations: 4 kB / 380.8 MB, free: 15.47 MB / 362.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.0005875/0.008685, allocations: 325.7 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.00872, allocations: 8.031 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.008783, allocations: 8.891 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.009022, allocations: 137.2 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.009036, allocations: 4.375 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.009063, allocations: 4.375 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.009266, allocations: 89.66 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.009276, allocations: 192 / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.00929, allocations: 12.12 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.009295, allocations: 0 / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.009395, allocations: 23.92 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.009787, allocations: 216.6 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.01002, allocations: 42.56 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.909e-05/0.01008, allocations: 16.88 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.01011, allocations: 11.88 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.01014, allocations: 30.56 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.01014, allocations: 0 / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006532/0.01079, allocations: 153.3 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.01086, allocations: 81.11 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.01105, allocations: 151.6 kB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.01108, allocations: 25.7 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.01115, allocations: 96.12 kB / 382.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.01117, allocations: 11.91 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.01122, allocations: 13.72 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.01141, allocations: 326.8 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.244e-05/0.0115, allocations: 19.98 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.934e-05/0.0116, allocations: 55.41 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.01175, allocations: 53.02 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01175, allocations: 3.938 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002119/0.01196, allocations: 81.56 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.01198, allocations: 4 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01198, allocations: 4.031 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.012, allocations: 0 / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.843e-05/0.01208, allocations: 15.98 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01209, allocations: 0 / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/0.01214, allocations: 7.938 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.01215, allocations: 3.984 kB / 382.8 MB, free: 13.28 MB / 362.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 0.0001061/0.01225, allocations: 117.8 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.0123, allocations: 11.95 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.01257, allocations: 102 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01258, allocations: 0 / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.01259, allocations: 4 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.01259, allocations: 0 / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.01305, allocations: 290.1 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01305, allocations: 4 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.385e-05/0.01312, allocations: 19.92 kB / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01312, allocations: 0 / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.01312, allocations: 0 / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01313, allocations: 4 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01313, allocations: 8.125 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.01341, allocations: 179.7 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.01343, allocations: 11.94 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.01345, allocations: 3.984 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.01353, allocations: 4 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.01357, allocations: 3.984 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.01358, allocations: 8 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.0137, allocations: 109.6 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0137, allocations: 4 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002987/0.014, allocations: 39.86 kB / 383.7 MB, free: 12.3 MB / 362.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.002314/0.01631, allocations: 0.5199 MB / 384.2 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.01653, allocations: 47.91 kB / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01654, allocations: 0 / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.515e-05/0.01662, allocations: 23.98 kB / 384.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.01704, allocations: 19.92 kB / 384.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.01758, allocations: 188.3 kB / 384.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.774e-05/0.01768, allocations: 71.33 kB / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.933e-05/0.01775, allocations: 11.98 kB / 384.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.01781, allocations: 20.48 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01781, allocations: 0 / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of Templates: time 0.005738/0.02355, allocations: 1.823 MB / 386.4 MB, free: 9.762 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.957172416965477]