Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.0009453/0.0009453, allocations: 82.59 kB / 21.42 MB, free: 3.07 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.001003/0.001003, allocations: 170.1 kB / 24.82 MB, free: 9.277 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.9492/0.9492, allocations: 177 MB / 205.1 MB, free: 5.453 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.252/0.252, allocations: 34.86 MB / 296.6 MB, free: 0.5234 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.942e-05, allocations: 6.953 kB / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002935/0.002964, allocations: 1.65 MB / 380.9 MB, free: 152 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00094/0.003904, allocations: 0.5446 MB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.003971, allocations: 0 / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.004243, allocations: 75.7 kB / 381.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.004493, allocations: 107.5 kB / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.004716, allocations: 111.6 kB / 381.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.004842, allocations: 87.75 kB / 381.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.103e-05/0.004924, allocations: 19.97 kB / 381.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.51e-05/0.004989, allocations: 43.89 kB / 381.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.269e-05/0.005071, allocations: 59.86 kB / 381.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.005085, allocations: 7.938 kB / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.001e-05/0.005155, allocations: 43.92 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.005196, allocations: 19.92 kB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.005227, allocations: 15.92 kB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.005391, allocations: 95.59 kB / 382.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.005393, allocations: 0 / 382.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005393, allocations: 4 kB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.005397, allocations: 0 / 382.1 MB, free: 14.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003472/0.005744, allocations: 435.9 kB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.005779, allocations: 15.97 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.00581, allocations: 12.84 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.005925, allocations: 153.1 kB / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.005933, allocations: 384 / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.00595, allocations: 8.375 kB / 382.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.249e-05/0.006032, allocations: 50.95 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.006041, allocations: 192 / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.006048, allocations: 4.375 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.006053, allocations: 4.375 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.581e-05/0.006079, allocations: 15.92 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.006336, allocations: 268.3 kB / 383.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.593e-05/0.006392, allocations: 43.03 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/0.006409, allocations: 11.69 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.006433, allocations: 4.078 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.006457, allocations: 41.33 kB / 383.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.006459, allocations: 0 / 383.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004692/0.006928, allocations: 157.3 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.006962, allocations: 55.41 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.007112, allocations: 238.3 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.007125, allocations: 25.7 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.007195, allocations: 158.8 kB / 383.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.00723, allocations: 31.73 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.007267, allocations: 23.36 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.007419, allocations: 0.4962 MB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.007442, allocations: 11.98 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.553e-05/0.007457, allocations: 7.984 kB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.124e-05/0.007509, allocations: 39.61 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.00751, allocations: 0 / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.011e-05/0.00759, allocations: 69.81 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.007602, allocations: 4 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.007609, allocations: 4 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.00762, allocations: 4 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.684e-05/0.007677, allocations: 15.98 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.007681, allocations: 4.062 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.0077, allocations: 8 kB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.007705, allocations: 0 / 384.5 MB, free: 12.33 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 (8): * Single equations (assignments): 8 * 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.252e-05/0.007767, allocations: 164.5 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.007791, allocations: 23.84 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.007905, allocations: 83.55 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.007908, allocations: 0 / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.007909, allocations: 0 / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.007913, allocations: 4 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.00817, allocations: 345.6 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.008174, allocations: 7.969 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.008209, allocations: 16 kB / 385.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.008211, allocations: 8.031 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.008216, allocations: 0 / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.008217, allocations: 3.938 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.008219, allocations: 4 kB / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.008329, allocations: 223.5 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.00834, allocations: 15.89 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.008353, allocations: 11.94 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.085e-05/0.008384, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.008413, allocations: 7.984 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.008417, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.992e-05/0.008477, allocations: 163.1 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008477, allocations: 4 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001577/0.008635, allocations: 27.92 kB / 385.6 MB, free: 11.16 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 (8): * Single equations (assignments): 8 * 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.0009017/0.009537, allocations: 429.9 kB / 386 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.426e-05/0.009631, allocations: 35.66 kB / 386 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.009633, allocations: 0 / 386 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.891e-05/0.009662, allocations: 31.61 kB / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.009872, allocations: 27.17 kB / 386.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.01018, allocations: 233.9 kB / 386.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.107e-05/0.01022, allocations: 67.33 kB / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.565e-05/0.01025, allocations: 12.72 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/0.01031, allocations: 82.2 kB / 386.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01031, allocations: 0 / 386.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of Templates: time 0.003106/0.01342, allocations: 1.541 MB / 388 MB, free: 8.801 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.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.983618050813675]