Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.001035/0.001035, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001122/0.001122, allocations: 160.5 kB / 24.55 MB, free: 20 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.035/1.035, allocations: 177 MB / 204.8 MB, free: 5.574 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.2957/0.2957, allocations: 34.86 MB / 296.3 MB, free: 492 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.CombiTable1Ds.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.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 3.938 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.632e-05, allocations: 8.781 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002646/0.002672, allocations: 1.673 MB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.003809, allocations: 0.5527 MB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.78e-05/0.003877, allocations: 0 / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.004177, allocations: 99.56 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.004474, allocations: 115.5 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.004713, allocations: 95.62 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.004882, allocations: 103.7 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.004986, allocations: 27.92 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.802e-05/0.005064, allocations: 47.88 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.005167, allocations: 59.86 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.005188, allocations: 4 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.372e-05/0.005281, allocations: 47.92 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.005338, allocations: 35.84 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.005373, allocations: 15.94 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.005552, allocations: 107.5 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005554, allocations: 0 / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005555, allocations: 4 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.005559, allocations: 0 / 381.8 MB, free: 15.05 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004389/0.005998, allocations: 463.8 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.006033, allocations: 11.97 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.006083, allocations: 24.84 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.006238, allocations: 144.4 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.00625, allocations: 8.359 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.00628, allocations: 12.31 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.006409, allocations: 66.94 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.006421, allocations: 8.188 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.006431, allocations: 4.375 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.006439, allocations: 384 / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.984e-05/0.006489, allocations: 23.92 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.006824, allocations: 327.6 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.212e-05/0.006916, allocations: 55.03 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.006947, allocations: 15.69 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.006972, allocations: 7.938 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.006994, allocations: 33.39 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.006995, allocations: 0 / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006687/0.007663, allocations: 249.2 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.007693, allocations: 55.41 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.007869, allocations: 250.7 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.007882, allocations: 25.7 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.007952, allocations: 159 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.007993, allocations: 55.56 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.008039, allocations: 31.36 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.008177, allocations: 0.5 MB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.008215, allocations: 19.98 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.008247, allocations: 16 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.669e-05/0.008334, allocations: 62.48 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.008335, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000148/0.008483, allocations: 105.6 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.008497, allocations: 8 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.008501, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.008517, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.951e-05/0.008616, allocations: 23.98 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.008623, allocations: 3.938 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.793e-05/0.008651, allocations: 4 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.00866, allocations: 8 kB / 384.5 MB, free: 12.1 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 7.643e-05/0.008736, allocations: 160.5 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.008775, allocations: 27.86 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/0.008972, allocations: 119.8 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.008975, allocations: 4 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.008978, allocations: 0 / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.008981, allocations: 0 / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.0094, allocations: 444.8 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.009403, allocations: 4 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.578e-05/0.009469, allocations: 24.02 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.009473, allocations: 4 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.009482, allocations: 4 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.009485, allocations: 4 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.009487, allocations: 3.938 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.009666, allocations: 259.5 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.009681, allocations: 19.89 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.009697, allocations: 4 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.504e-05/0.009752, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.009789, allocations: 15.92 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.009795, allocations: 4 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.009897, allocations: 193 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009897, allocations: 0 / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002618/0.01016, allocations: 27.94 kB / 385.8 MB, free: 10.72 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.001183/0.01134, allocations: 428.9 kB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.01148, allocations: 59.66 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01149, allocations: 0 / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.045e-05/0.01154, allocations: 43.61 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.01181, allocations: 28.05 kB / 386.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.01222, allocations: 272.5 kB / 386.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.019e-05/0.01227, allocations: 75.27 kB / 386.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.063e-05/0.01232, allocations: 24.47 kB / 386.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.01236, allocations: 16.5 kB / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01236, allocations: 0 / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of Templates: time 0.003942/0.0163, allocations: 1.556 MB / 388.3 MB, free: 8.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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: 3.3861203491687775]