Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.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.0009551/0.0009551, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.000968/0.000968, allocations: 160.9 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.9402/0.9402, allocations: 177 MB / 205.2 MB, free: 5.617 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.2517/0.2517, allocations: 34.86 MB / 296.6 MB, free: 480 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 378.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/3.022e-05, allocations: 3.156 kB / 378.8 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.003828/0.003858, allocations: 1.625 MB / 380.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.005768, allocations: 1.277 MB / 381.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.273e-05/0.00584, allocations: 0 / 381.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.006084, allocations: 31.77 kB / 381.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.006445, allocations: 91.48 kB / 381.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.006786, allocations: 111.6 kB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.006955, allocations: 71.77 kB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.007055, allocations: 11.86 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.882e-05/0.007134, allocations: 39.83 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.007243, allocations: 15.98 kB / 382 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.007262, allocations: 7.938 kB / 382.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.007447, allocations: 91.88 kB / 382.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.0075, allocations: 19.91 kB / 382.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.007541, allocations: 8 kB / 382.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.007811, allocations: 135.5 kB / 382.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.007816, allocations: 4 kB / 382.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.007817, allocations: 0 / 382.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.007821, allocations: 0 / 382.3 MB, free: 14.83 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000501/0.008322, allocations: 432 kB / 382.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.00836, allocations: 8.031 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.008421, allocations: 12.89 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.00862, allocations: 132.5 kB / 382.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.008632, allocations: 4.312 kB / 382.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.008654, allocations: 4.375 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.00883, allocations: 108 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.008841, allocations: 4.125 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.008853, allocations: 4.375 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.008862, allocations: 4.375 kB / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.201e-05/0.008904, allocations: 7.938 kB / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.009284, allocations: 279.7 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.009482, allocations: 43.05 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.009514, allocations: 15.67 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.009532, allocations: 0 / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.009561, allocations: 37.39 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.009563, allocations: 4 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004436/0.01001, allocations: 105.4 kB / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.01005, allocations: 77.11 kB / 383.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.01022, allocations: 200.9 kB / 383.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.01024, allocations: 25.7 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.0103, allocations: 142.9 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.01033, allocations: 19.84 kB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.01038, allocations: 23.38 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.01052, allocations: 0.4923 MB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.689e-05/0.01055, allocations: 7.938 kB / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.946e-05/0.01059, allocations: 53.08 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.853e-05/0.01065, allocations: 27.67 kB / 384.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01065, allocations: 0 / 384.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001178/0.01077, allocations: 61.62 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.01079, allocations: 4 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.01079, allocations: 0 / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.01081, allocations: 0 / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.01088, allocations: 15.94 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.01088, allocations: 256 / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.01092, allocations: 11.88 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.01093, allocations: 12.03 kB / 384.6 MB, free: 12.24 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 8.953e-05/0.01102, allocations: 152.6 kB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.01107, allocations: 19.89 kB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.01123, allocations: 62.14 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01123, allocations: 0 / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.01123, allocations: 0 / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.01124, allocations: 3.938 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.01159, allocations: 329.3 kB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01159, allocations: 0 / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.01165, allocations: 8 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01165, allocations: 4 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.01166, allocations: 7.984 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01166, allocations: 0 / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01166, allocations: 0 / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.01184, allocations: 211.8 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.01185, allocations: 11.95 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.01187, allocations: 0 / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.01194, allocations: 4 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.01198, allocations: 3.984 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.01198, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.66e-05/0.01207, allocations: 147.2 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01207, allocations: 4 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000323/0.01239, allocations: 43.86 kB / 385.6 MB, free: 11.17 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.001155/0.01355, allocations: 479.9 kB / 386.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.0137, allocations: 39.61 kB / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01371, allocations: 0 / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.795e-05/0.01373, allocations: 15.69 kB / 386.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.01404, allocations: 27.16 kB / 386.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.01441, allocations: 173.9 kB / 386.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.157e-05/0.01445, allocations: 67.34 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.1e-05/0.0145, allocations: 11.98 kB / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.01454, allocations: 24.48 kB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01454, allocations: 0 / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of Templates: time 0.003825/0.01836, allocations: 1.832 MB / 388.3 MB, free: 8.609 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test35/Test35.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.087376020150259]