Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.002523/0.002523, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002851/0.002851, allocations: 160.8 kB / 24.27 MB, free: 156 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.615/1.615, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3466/0.3466, allocations: 34.25 MB / 295.2 MB, free: 0.6406 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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.277e-05, allocations: 6.312 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.005364/0.005397, allocations: 1.629 MB / 378.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.007301, allocations: 0.5292 MB / 379.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-05/0.007378, allocations: 0 / 379.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003936/0.007772, allocations: 79.7 kB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005128/0.008285, allocations: 103.5 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.008732, allocations: 91.62 kB / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.009019, allocations: 87.8 kB / 379.7 MB, free: 364 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.009131, allocations: 8 kB / 379.8 MB, free: 356 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.009284, allocations: 51.81 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.009453, allocations: 47.94 kB / 379.9 MB, free: 256 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.009482, allocations: 4 kB / 379.9 MB, free: 252 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.009634, allocations: 47.92 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.279e-05/0.009717, allocations: 31.84 kB / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.009765, allocations: 7.938 kB / 379.9 MB, free: 164 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.0101, allocations: 111.6 kB / 380.1 MB, free: 52 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.01011, allocations: 4 kB / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01011, allocations: 0 / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.01011, allocations: 0 / 380.1 MB, free: 48 kB / 346.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.0008146/0.01093, allocations: 439.5 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.01097, allocations: 12.03 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.226e-05/0.01105, allocations: 16.84 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.01135, allocations: 153.1 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.01136, allocations: 4.375 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.01139, allocations: 4.375 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.01158, allocations: 50.25 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.0116, allocations: 192 / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.01161, allocations: 384 / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.01162, allocations: 4.359 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.01177, allocations: 23.92 kB / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/0.0124, allocations: 303.7 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.01258, allocations: 47.05 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.01267, allocations: 27.77 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.0127, allocations: 0 / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.01275, allocations: 37.33 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.01275, allocations: 0 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001246/0.014, allocations: 205.2 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.01406, allocations: 55.39 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/0.01445, allocations: 254.4 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.01448, allocations: 29.7 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.01466, allocations: 158.9 kB / 381.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/0.01471, allocations: 31.73 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.729e-05/0.01479, allocations: 31.38 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004006/0.0152, allocations: 0.5001 MB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.01531, allocations: 19.98 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.01541, allocations: 24 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.01565, allocations: 63.81 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.01565, allocations: 0 / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003488/0.016, allocations: 109.5 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.01602, allocations: 4 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01603, allocations: 0 / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.01605, allocations: 4 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.01619, allocations: 12 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.0162, allocations: 0 / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.044e-05/0.01627, allocations: 7.984 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.01628, allocations: 0 / 382.6 MB, free: 13.25 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 0.0001897/0.01647, allocations: 160.6 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.852e-05/0.01655, allocations: 23.84 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004074/0.01695, allocations: 119.5 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01696, allocations: 0 / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01696, allocations: 0 / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.01697, allocations: 3.984 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009144/0.01788, allocations: 416.9 kB / 383.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.01788, allocations: 0 / 383.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.018, allocations: 20 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.01801, allocations: 0 / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.01802, allocations: 8.016 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01802, allocations: 0 / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.01803, allocations: 4 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.01852, allocations: 259.4 kB / 383.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.01855, allocations: 7.953 kB / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.01857, allocations: 0 / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.0187, allocations: 8 kB / 383.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.01875, allocations: 3.984 kB / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.01876, allocations: 4 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.019, allocations: 175.2 kB / 383.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.019, allocations: 4 kB / 383.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004809/0.01948, allocations: 23.92 kB / 383.9 MB, free: 11.95 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.004928/0.02441, allocations: 493.5 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003421/0.02475, allocations: 67.59 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.02475, allocations: 0 / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.02491, allocations: 43.61 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.02545, allocations: 23.11 kB / 384.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009031/0.02635, allocations: 241.9 kB / 384.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.02652, allocations: 88.8 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.077e-05/0.02661, allocations: 17.09 kB / 384.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.02667, allocations: 16.5 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.02668, allocations: 0 / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of Templates: time 0.007624/0.0343, allocations: 1.375 MB / 386.2 MB, free: 9.719 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0112984420266]