Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001737/0.001737, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.342/0.342, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.892e-05, allocations: 2.312 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003239/0.003268, allocations: 1.605 MB / 378.8 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.004425, allocations: 0.5176 MB / 379.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.361e-05/0.004479, allocations: 3.938 kB / 379.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.004721, allocations: 31.78 kB / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.005025, allocations: 79.61 kB / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.00531, allocations: 91.64 kB / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.00547, allocations: 63.83 kB / 379.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.005576, allocations: 11.94 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.005645, allocations: 27.92 kB / 379.6 MB, free: 468 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.129e-05/0.005706, allocations: 19.91 kB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.005722, allocations: 0 / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.005809, allocations: 35.98 kB / 379.7 MB, free: 412 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.005863, allocations: 15.92 kB / 379.7 MB, free: 396 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.005908, allocations: 11.92 kB / 379.7 MB, free: 384 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.00609, allocations: 79.73 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.006094, allocations: 0 / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.006095, allocations: 0 / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.006099, allocations: 0 / 379.8 MB, free: 304 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.0005594/0.006659, allocations: 313.8 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.006694, allocations: 8.031 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.006747, allocations: 8.891 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.006945, allocations: 137.7 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.006954, allocations: 384 / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.006979, allocations: 4.375 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.007121, allocations: 46.25 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.007133, allocations: 4.188 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.007147, allocations: 4.375 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.007151, allocations: 384 / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.007251, allocations: 31.84 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.0076, allocations: 216.5 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.007866, allocations: 46.55 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.007927, allocations: 12.94 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.007956, allocations: 4 kB / 380.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.007995, allocations: 38.5 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.007996, allocations: 0 / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009206/0.008917, allocations: 153.3 kB / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.008964, allocations: 51.41 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.009136, allocations: 149.1 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.009162, allocations: 29.7 kB / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.009235, allocations: 96.12 kB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.009265, allocations: 11.84 kB / 381.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.009313, allocations: 21.72 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.009493, allocations: 322.8 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-05/0.009569, allocations: 19.98 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.886e-05/0.009628, allocations: 15.98 kB / 381.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.00976, allocations: 44.83 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.009761, allocations: 0 / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002012/0.009962, allocations: 93.69 kB / 381.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.009978, allocations: 8 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.009985, allocations: 4.062 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.01, allocations: 0 / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.513e-05/0.01007, allocations: 11.98 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.01008, allocations: 4 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.01012, allocations: 7.938 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.01013, allocations: 4 kB / 381.7 MB, free: 14.23 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.0001107/0.01024, allocations: 113.8 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.01028, allocations: 11.89 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.01053, allocations: 98.06 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01053, allocations: 0 / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.01054, allocations: 0 / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.01054, allocations: 3.984 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.01098, allocations: 286.2 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01098, allocations: 0 / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.01104, allocations: 12 kB / 382.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01104, allocations: 7.938 kB / 382.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.01105, allocations: 3.984 kB / 382.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01105, allocations: 0 / 382.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.01106, allocations: 3.938 kB / 382.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.01133, allocations: 179.4 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.01135, allocations: 7.953 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.01136, allocations: 0 / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.01144, allocations: 7.984 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.01147, allocations: 192 / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.01148, allocations: 12 kB / 382.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001141/0.0116, allocations: 115.2 kB / 382.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0116, allocations: 0 / 382.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.01184, allocations: 16 kB / 382.5 MB, free: 13.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.001988/0.01383, allocations: 416.1 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.01404, allocations: 51.89 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01404, allocations: 0 / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.01414, allocations: 23.98 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.01454, allocations: 34.45 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.01504, allocations: 188.9 kB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.01514, allocations: 71.33 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.319e-05/0.01518, allocations: 20.03 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.01522, allocations: 16.5 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01522, allocations: 0 / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of Templates: time 0.004201/0.01942, allocations: 1.166 MB / 384.5 MB, free: 11.44 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.824329631985165]