Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001115/0.001115, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001097/0.001097, allocations: 156.5 kB / 24.55 MB, free: 16 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 0.9985/0.9985, allocations: 177 MB / 204.8 MB, free: 5.578 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.2732/0.2732, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.CombiTable1Dv.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,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.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.811e-05, allocations: 10.81 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002209/0.002237, allocations: 1.679 MB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008036/0.003041, allocations: 0.5564 MB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.0031, allocations: 4 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.003375, allocations: 95.61 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.003666, allocations: 115.5 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.003949, allocations: 115.7 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.004115, allocations: 107.7 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.004222, allocations: 19.98 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/0.004295, allocations: 63.81 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.857e-05/0.004384, allocations: 59.86 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.004399, allocations: 4 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.471e-05/0.004483, allocations: 39.92 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.004533, allocations: 31.91 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.004566, allocations: 23.86 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.004733, allocations: 111.6 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004736, allocations: 0 / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004737, allocations: 3.938 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.004742, allocations: 4 kB / 381.8 MB, free: 15.02 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.0004/0.005142, allocations: 463.8 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.005178, allocations: 12.03 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.005227, allocations: 20.83 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.005367, allocations: 164.3 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.005376, allocations: 384 / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.005402, allocations: 8.375 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.005526, allocations: 70.92 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.005537, allocations: 8.188 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.005548, allocations: 4.375 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.005555, allocations: 4.375 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.554e-05/0.005601, allocations: 26.05 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.00595, allocations: 335.6 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.802e-05/0.006028, allocations: 55.05 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.006055, allocations: 15.62 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.006077, allocations: 4 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.006099, allocations: 37.33 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.0061, allocations: 0 / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006187/0.006719, allocations: 249.2 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.006747, allocations: 51.41 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.00689, allocations: 246.7 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.006903, allocations: 33.7 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.006961, allocations: 162.8 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.006993, allocations: 43.64 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.00703, allocations: 35.36 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.007151, allocations: 0.5078 MB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.474e-05/0.007185, allocations: 19.98 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.859e-05/0.007214, allocations: 28.11 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.957e-05/0.007283, allocations: 50.69 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.007284, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001178/0.007402, allocations: 101.6 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.007415, allocations: 4 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.007419, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.007434, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.00752, allocations: 31.92 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.007526, allocations: 0 / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.007548, allocations: 4 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.007557, allocations: 4 kB / 384.6 MB, free: 12.05 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 8.607e-05/0.007643, allocations: 172.5 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.007673, allocations: 15.91 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.007877, allocations: 127.8 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.007883, allocations: 8 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.007888, allocations: 3.984 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.007892, allocations: 0 / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.008299, allocations: 436.8 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.008304, allocations: 4 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.008362, allocations: 28.02 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.008364, allocations: 0 / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.008374, allocations: 4 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.00838, allocations: 11.88 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.008381, allocations: 0 / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.008554, allocations: 255.5 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.008569, allocations: 11.91 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.008587, allocations: 8 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.981e-05/0.008626, allocations: 7.938 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.008668, allocations: 19.95 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.008672, allocations: 0 / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.158e-05/0.008754, allocations: 189.1 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008754, allocations: 0 / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001755/0.008929, allocations: 27.94 kB / 385.9 MB, free: 10.66 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.0008754/0.009805, allocations: 426.1 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.009948, allocations: 67.59 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.00995, allocations: 3.938 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.684e-05/0.009997, allocations: 43.42 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.01022, allocations: 24.05 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.01061, allocations: 280.6 kB / 386.7 MB, free: 9.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.01065, allocations: 75.33 kB / 386.8 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.581e-05/0.01071, allocations: 28.45 kB / 386.8 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.01075, allocations: 20.5 kB / 386.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01075, allocations: 4 kB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of Templates: time 0.003537/0.01429, allocations: 1.614 MB / 388.4 MB, free: 8.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.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: 3.3311850973404944]