Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001797/0.001797, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002114/0.002114, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.77 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.2391/0.2391, allocations: 46.97 MB / 360.9 MB, free: 4.035 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003265/0.003265, allocations: 64.12 kB / 0.4966 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3861, allocations: 66.03 MB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003682/0.3897, allocations: 1.6 MB / 0.5626 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3909, allocations: 0.5154 MB / 0.5632 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.391, allocations: 4 kB / 0.5632 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.3912, allocations: 31.78 kB / 0.5632 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.3915, allocations: 67.69 kB / 0.5632 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.3918, allocations: 99.64 kB / 0.5633 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.3919, allocations: 67.83 kB / 0.5634 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.392, allocations: 8 kB / 0.5634 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.485e-05/0.3921, allocations: 23.86 kB / 0.5634 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.511e-05/0.3921, allocations: 27.84 kB / 0.5635 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3922, allocations: 4 kB / 0.5635 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.936e-05/0.3922, allocations: 28 kB / 0.5635 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.164e-05/0.3923, allocations: 19.86 kB / 0.5635 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.3923, allocations: 19.86 kB / 0.5635 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.3925, allocations: 82.05 kB / 0.5636 GB, free: 1.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.3925, allocations: 8 kB / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3925, allocations: 0 / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.3925, allocations: 0 / 0.5636 GB, free: 1.57 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.0005893/0.3931, allocations: 309.8 kB / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3931, allocations: 12.03 kB / 0.5639 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.3932, allocations: 8.891 kB / 0.5639 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.3934, allocations: 134.4 kB / 0.5641 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3934, allocations: 12.31 kB / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.3934, allocations: 384 / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.3936, allocations: 57.8 kB / 0.5641 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3936, allocations: 4 kB / 0.5641 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.3936, allocations: 0 / 0.5641 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3936, allocations: 0 / 0.5641 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.738e-05/0.3937, allocations: 19.98 kB / 0.5642 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.394, allocations: 224.5 kB / 0.5644 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.3942, allocations: 42.5 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.3942, allocations: 20.94 kB / 0.5644 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.3943, allocations: 0 / 0.5644 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.3943, allocations: 30.56 kB / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3943, allocations: 4 kB / 0.5645 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005275/0.3948, allocations: 145.6 kB / 0.5646 GB, free: 460 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.3949, allocations: 59.34 kB / 0.5647 GB, free: 388 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.395, allocations: 161.8 kB / 0.5648 GB, free: 216 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.395, allocations: 25.7 kB / 0.5648 GB, free: 184 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.3951, allocations: 96.12 kB / 0.5649 GB, free: 84 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.3951, allocations: 19.86 kB / 0.5649 GB, free: 64 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.3952, allocations: 21.7 kB / 0.565 GB, free: 36 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3953, allocations: 322.8 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.981e-05/0.3954, allocations: 19.97 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-05/0.3955, allocations: 19.98 kB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.3956, allocations: 48.78 kB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3956, allocations: 0 / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000179/0.3958, allocations: 85.55 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3958, allocations: 8 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3958, allocations: 0 / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3958, allocations: 0 / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/0.3959, allocations: 15.98 kB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3959, allocations: 0 / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.787e-05/0.3959, allocations: 4 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3959, allocations: 3.938 kB / 0.5655 GB, free: 15.5 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 9.778e-05/0.396, allocations: 121.7 kB / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.3961, allocations: 11.94 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.3963, allocations: 94.38 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3963, allocations: 8 kB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3963, allocations: 0 / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3963, allocations: 0 / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.3967, allocations: 294.1 kB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3967, allocations: 0 / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/0.3968, allocations: 11.98 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.3968, allocations: 4 kB / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.3968, allocations: 4 kB / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3968, allocations: 0 / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3968, allocations: 3.938 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.397, allocations: 175.5 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.397, allocations: 15.89 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.397, allocations: 0 / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.837e-05/0.3971, allocations: 4 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.3972, allocations: 11.92 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.3972, allocations: 0 / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.3973, allocations: 128.9 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3973, allocations: 0 / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.3975, allocations: 19.95 kB / 0.5663 GB, free: 14.53 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.001564/0.3991, allocations: 434.2 kB / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.3993, allocations: 43.97 kB / 0.5668 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3993, allocations: 0 / 0.5668 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.3993, allocations: 35.91 kB / 0.5668 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.3997, allocations: 9.625 kB / 0.5668 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.4002, allocations: 190.1 kB / 0.567 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.217e-05/0.4002, allocations: 83.06 kB / 0.5671 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.431e-05/0.4003, allocations: 15.77 kB / 0.5671 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.4003, allocations: 19.42 kB / 0.5671 GB, free: 13.85 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4003, allocations: 4 kB / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of Templates: time 0.00434/0.4047, allocations: 1.192 MB / 0.5683 GB, free: 12.67 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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: 5.250563078094274]