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.001539/0.001539, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001847/0.001847, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 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.353/1.353, allocations: 230.6 MB / 258.2 MB, free: 8.246 MB / 206.1 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.2181/0.2181, allocations: 46.95 MB / 361.6 MB, free: 4.328 MB / 286.1 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 0.002052/0.002052, allocations: 67.91 kB / 0.4974 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.293, allocations: 66.03 MB / 0.5619 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003527/0.2965, allocations: 1.617 MB / 0.5635 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.2977, allocations: 0.5503 MB / 0.564 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.2978, allocations: 4 kB / 0.564 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.298, allocations: 23.84 kB / 0.564 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.2984, allocations: 75.62 kB / 0.5641 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.2987, allocations: 99.14 kB / 0.5642 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.2989, allocations: 63.83 kB / 0.5643 GB, free: 2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.299, allocations: 7.938 kB / 0.5643 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.86e-05/0.2991, allocations: 27.92 kB / 0.5643 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.385e-05/0.2992, allocations: 23.84 kB / 0.5643 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.2992, allocations: 4 kB / 0.5643 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.2993, allocations: 32 kB / 0.5643 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.2994, allocations: 19.86 kB / 0.5644 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.2994, allocations: 23.8 kB / 0.5644 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.2996, allocations: 85.98 kB / 0.5645 GB, free: 1.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2996, allocations: 0 / 0.5645 GB, free: 1.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2996, allocations: 0 / 0.5645 GB, free: 1.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.2996, allocations: 0 / 0.5645 GB, free: 1.785 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.0005472/0.3002, allocations: 313.9 kB / 0.5648 GB, free: 1.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3002, allocations: 8.031 kB / 0.5648 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.3003, allocations: 8.891 kB / 0.5648 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.3005, allocations: 137 kB / 0.5649 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.3005, allocations: 384 / 0.5649 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.3005, allocations: 4.375 kB / 0.5649 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3007, allocations: 53.75 kB / 0.565 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3007, allocations: 0 / 0.565 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.3007, allocations: 4 kB / 0.565 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3007, allocations: 3.938 kB / 0.565 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.3008, allocations: 23.97 kB / 0.565 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.3012, allocations: 251.9 kB / 0.5652 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.3015, allocations: 42.5 kB / 0.5653 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.3015, allocations: 8.859 kB / 0.5653 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.3015, allocations: 8 kB / 0.5653 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.3016, allocations: 34.56 kB / 0.5653 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.3016, allocations: 0 / 0.5653 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005896/0.3022, allocations: 141.5 kB / 0.5655 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.3022, allocations: 51.41 kB / 0.5655 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3024, allocations: 156.7 kB / 0.5657 GB, free: 420 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.3024, allocations: 25.7 kB / 0.5657 GB, free: 388 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.3024, allocations: 96.12 kB / 0.5658 GB, free: 288 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.3025, allocations: 15.8 kB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.3025, allocations: 21.7 kB / 0.5658 GB, free: 244 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3027, allocations: 322.8 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-05/0.3028, allocations: 15.98 kB / 0.5661 GB, free: 15.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.887e-05/0.3028, allocations: 19.98 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.3029, allocations: 48.83 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3029, allocations: 0 / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001787/0.3031, allocations: 89.8 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3031, allocations: 4 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3031, allocations: 0 / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3031, allocations: 4 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.3032, allocations: 12 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3032, allocations: 7.984 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.3033, allocations: 4 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.3033, allocations: 3.938 kB / 0.5663 GB, free: 15.7 MB / 414.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 0.0001006/0.3034, allocations: 117.8 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.3034, allocations: 8.234 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.3036, allocations: 97.98 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3036, allocations: 3.984 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3036, allocations: 4 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3036, allocations: 0 / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.304, allocations: 313.6 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.304, allocations: 3.938 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/0.3041, allocations: 19.92 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3041, allocations: 0 / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3041, allocations: 0 / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/0.3041, allocations: 3.938 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3041, allocations: 4 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.3043, allocations: 179.5 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.3044, allocations: 7.953 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.3044, allocations: 0 / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.919e-05/0.3044, allocations: 7.938 kB / 0.5671 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.3045, allocations: 7.984 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3045, allocations: 4.188 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.3046, allocations: 121.8 kB / 0.5672 GB, free: 14.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3046, allocations: 0 / 0.5672 GB, free: 14.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.3048, allocations: 11.94 kB / 0.5672 GB, free: 14.71 MB / 414.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.001538/0.3064, allocations: 409.5 kB / 0.5676 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.3066, allocations: 43.97 kB / 0.5676 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3066, allocations: 4 kB / 0.5676 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.817e-05/0.3067, allocations: 27.92 kB / 0.5677 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.3071, allocations: 21.55 kB / 0.5677 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.3076, allocations: 207.8 kB / 0.5679 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.3079, allocations: 0.6936 MB / 0.5686 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.3079, allocations: 19.42 kB / 0.5686 GB, free: 13.39 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3079, allocations: 0 / 0.5686 GB, free: 13.39 MB / 414.1 MB Notification: Performance of Templates: time 0.003106/0.311, allocations: 1.415 MB / 0.57 GB, free: 11.98 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/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: 7.125921124126762]