Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.0009996/0.0009996, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001022/0.001022, allocations: 160.3 kB / 24.99 MB, free: 8.801 MB / 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 0.9648/0.9648, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.2353/0.2353, allocations: 34.87 MB / 296.6 MB, free: 456 kB / 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 378.8 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.977e-05, allocations: 2.312 kB / 378.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002087/0.002107, allocations: 1.67 MB / 380.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007653/0.002872, allocations: 0.5564 MB / 381 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.002932, allocations: 0 / 381 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.003189, allocations: 99.61 kB / 381.1 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.003454, allocations: 111.5 kB / 381.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.003702, allocations: 115.7 kB / 381.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.003859, allocations: 111.7 kB / 381.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.00396, allocations: 23.98 kB / 381.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.003e-05/0.00403, allocations: 55.88 kB / 381.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.385e-05/0.004124, allocations: 59.86 kB / 381.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.004139, allocations: 4 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.557e-05/0.004215, allocations: 47.92 kB / 381.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.004264, allocations: 35.84 kB / 381.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/0.004295, allocations: 15.94 kB / 381.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.004452, allocations: 115.4 kB / 381.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004454, allocations: 8 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.004455, allocations: 0 / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.004459, allocations: 0 / 381.8 MB, free: 15.32 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004259/0.004885, allocations: 463.8 kB / 382.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.004918, allocations: 8.031 kB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.004965, allocations: 20.84 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.005112, allocations: 160.3 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.005122, allocations: 4.375 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.005145, allocations: 12.36 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.005266, allocations: 74.94 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.005276, allocations: 4.188 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.005285, allocations: 384 / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.005293, allocations: 4.375 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.705e-05/0.005341, allocations: 31.91 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.005747, allocations: 323.6 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.547e-05/0.005833, allocations: 55.05 kB / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.005863, allocations: 23.61 kB / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.005882, allocations: 0 / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.005907, allocations: 45.33 kB / 383 MB, free: 13.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.005908, allocations: 0 / 383 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005951/0.006503, allocations: 241.3 kB / 383.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.006535, allocations: 51.41 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.006678, allocations: 250.7 kB / 383.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.006689, allocations: 25.7 kB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.006746, allocations: 166.8 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.006777, allocations: 39.64 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.006815, allocations: 39.36 kB / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.006926, allocations: 0.5078 MB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.294e-05/0.006959, allocations: 27.92 kB / 384.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.6e-05/0.006985, allocations: 16.12 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.626e-05/0.007051, allocations: 54.05 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.007052, allocations: 0 / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001123/0.007165, allocations: 101.6 kB / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.007176, allocations: 8 kB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.00718, allocations: 0 / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.007192, allocations: 0 / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.00727, allocations: 27.92 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.007275, allocations: 0 / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.147e-05/0.007296, allocations: 12 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.007303, allocations: 4 kB / 384.5 MB, free: 12.36 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 (13): * Single equations (assignments): 13 * 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 6.893e-05/0.007372, allocations: 160.5 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.007398, allocations: 19.91 kB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.00757, allocations: 138.7 kB / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007572, allocations: 0 / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.007576, allocations: 0 / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.007579, allocations: 0 / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.007913, allocations: 440.8 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.007914, allocations: 4.031 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.007965, allocations: 27.98 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.007967, allocations: 0 / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.007976, allocations: 4 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.007979, allocations: 7.922 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.00798, allocations: 3.938 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.008128, allocations: 267.5 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.008138, allocations: 11.91 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.008151, allocations: 0 / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.822e-05/0.008189, allocations: 11.94 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.00822, allocations: 11.98 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.008226, allocations: 4 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.307e-05/0.008309, allocations: 185 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008309, allocations: 0 / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001758/0.008485, allocations: 24 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.0008179/0.009303, allocations: 425.3 kB / 386.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.009434, allocations: 63.28 kB / 386.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.009436, allocations: 0 / 386.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.723e-05/0.009483, allocations: 55.53 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.0097, allocations: 27.97 kB / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.01006, allocations: 280.8 kB / 386.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.157e-05/0.0101, allocations: 75.33 kB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.889e-05/0.01015, allocations: 32.45 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.01018, allocations: 20.56 kB / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01018, allocations: 0 / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of Templates: time 0.003041/0.01322, allocations: 1.611 MB / 388.4 MB, free: 8.496 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.988000717945397]