Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001457/0.001457, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00161/0.00161, allocations: 161.7 kB / 24.26 MB, free: 168 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.544/1.544, 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.3469/0.3469, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.381e-05, allocations: 6.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.004942/0.004976, allocations: 1.598 MB / 378.9 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.00669, allocations: 0.522 MB / 379.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.006791, allocations: 0 / 379.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.007101, allocations: 31.78 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000524/0.007625, allocations: 79.56 kB / 379.5 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.00809, allocations: 91.69 kB / 379.6 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.008324, allocations: 59.78 kB / 379.7 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.008463, allocations: 8 kB / 379.7 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.008595, allocations: 35.89 kB / 379.7 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.008715, allocations: 19.92 kB / 379.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.008742, allocations: 0 / 379.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.008918, allocations: 28 kB / 379.8 MB, free: 476 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.74e-05/0.009015, allocations: 23.91 kB / 379.8 MB, free: 452 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.009083, allocations: 11.94 kB / 379.8 MB, free: 440 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.009431, allocations: 79.66 kB / 379.9 MB, free: 360 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.009438, allocations: 0 / 379.9 MB, free: 360 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.00944, allocations: 0 / 379.9 MB, free: 360 kB / 346.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.00945, allocations: 0 / 379.9 MB, free: 360 kB / 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.0007768/0.01023, allocations: 305.9 kB / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.01028, allocations: 12.02 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.9e-05/0.01036, allocations: 8.891 kB / 380.2 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.01071, allocations: 137.7 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.01072, allocations: 4.375 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.01077, allocations: 8.375 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.01099, allocations: 46.09 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.011, allocations: 192 / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.01102, allocations: 4.125 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.01103, allocations: 7.984 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.01117, allocations: 19.98 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.0117, allocations: 216.6 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.01204, allocations: 50.44 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.172e-05/0.01212, allocations: 12.86 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.574e-05/0.01216, allocations: 4.031 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.01221, allocations: 42.55 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.01221, allocations: 0 / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008858/0.0131, allocations: 141.4 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.01316, allocations: 51.41 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.01343, allocations: 156.5 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.01346, allocations: 29.7 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.656e-05/0.01356, allocations: 92.14 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.0136, allocations: 19.83 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.01365, allocations: 13.72 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002522/0.01391, allocations: 322.8 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.661e-05/0.014, allocations: 19.98 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.48e-05/0.01409, allocations: 15.98 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.01427, allocations: 44.78 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01427, allocations: 4 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002959/0.01457, allocations: 93.73 kB / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.0146, allocations: 10.34 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.01461, allocations: 0 / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.01463, allocations: 0 / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.095e-05/0.01472, allocations: 12.27 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.01473, allocations: 0 / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.744e-05/0.01479, allocations: 7.953 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.0148, allocations: 4 kB / 381.8 MB, free: 14.3 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.0001527/0.01495, allocations: 121.8 kB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.01501, allocations: 15.88 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.01537, allocations: 98.09 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01538, allocations: 0 / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.01538, allocations: 0 / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.01538, allocations: 0 / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005989/0.01598, allocations: 294.1 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01598, allocations: 4 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.221e-05/0.01607, allocations: 15.98 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01607, allocations: 0 / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.01608, allocations: 3.938 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01608, allocations: 0 / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01608, allocations: 0 / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.01643, allocations: 183.4 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.01645, allocations: 7.953 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.01647, allocations: 256 / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.01659, allocations: 16 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.01664, allocations: 7.922 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.01664, allocations: 0 / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.01679, allocations: 117.8 kB / 382.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01679, allocations: 0 / 382.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004264/0.01722, allocations: 16 kB / 382.6 MB, free: 13.35 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.002515/0.01973, allocations: 426.4 kB / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.02002, allocations: 47.97 kB / 383.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02002, allocations: 0 / 383.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.02015, allocations: 27.92 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/0.02076, allocations: 19.92 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007266/0.02149, allocations: 192.9 kB / 383.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.02163, allocations: 75.33 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.889e-05/0.0217, allocations: 16.23 kB / 383.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/0.02175, allocations: 16.5 kB / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02175, allocations: 0 / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of Templates: time 0.005613/0.02737, allocations: 1.15 MB / 384.6 MB, free: 11.53 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.744986554956995]